Skip to content

Commit

Permalink
moved jitsi-monitor annotations to the pod
Browse files Browse the repository at this point in the history
  • Loading branch information
gcordalis committed Oct 25, 2024
1 parent 7213827 commit ed68a60
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/jitsi-monitor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: jitsi-monitor
description: Monitors the health of Jitsi Meet instances and bridges
type: application

version: 0.1.3
version: 0.1.4

# App metadata
appVersion: "v0.1.3"
Expand Down
8 changes: 4 additions & 4 deletions charts/jitsi-monitor/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ spec:
metadata:
labels:
app: {{ .Release.Name }}-monitor
{{- if .Values.podAnnotations }}
annotations:
{{- .Values.podAnnotations | toYaml | nindent 12 }}
{{- end }}
spec:
restartPolicy: OnFailure
containers:
Expand All @@ -34,10 +38,6 @@ apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-monitor
{{- if .Values.service.annotations }}
annotations:
{{- .Values.service.annotations | toYaml | nindent 4 }}
{{- end }}

spec:
selector:
Expand Down
3 changes: 2 additions & 1 deletion charts/jitsi-monitor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ cronJob:
service:
type: ClusterIP
port: 8000
annotations: {}

podAnnotations: {}

0 comments on commit ed68a60

Please sign in to comment.