diff --git a/charts/jitsi-monitor/Chart.yaml b/charts/jitsi-monitor/Chart.yaml index 5e6b564..8276267 100644 --- a/charts/jitsi-monitor/Chart.yaml +++ b/charts/jitsi-monitor/Chart.yaml @@ -3,7 +3,7 @@ name: jitsi-monitor description: Monitors the health of Jitsi Meet instances and bridges type: application -version: 0.1.4 +version: 0.1.5 # App metadata appVersion: "v0.1.3" diff --git a/charts/jitsi-monitor/templates/configmap.yaml b/charts/jitsi-monitor/templates/configmap.yaml index 222e83b..1557c70 100644 --- a/charts/jitsi-monitor/templates/configmap.yaml +++ b/charts/jitsi-monitor/templates/configmap.yaml @@ -8,3 +8,4 @@ data: RUNTIME: "{{ .Values.config.runtime }}" MEDIA_OPTION: "{{ .Values.config.mediaOption }}" TAKE_SCREENSHOTS: "{{ .Values.config.takeScreenshots }}" + CONTINUOUS_MODE: "true" diff --git a/charts/jitsi-monitor/templates/cronjob.yaml b/charts/jitsi-monitor/templates/cronjob.yaml deleted file mode 100644 index 3bcc01a..0000000 --- a/charts/jitsi-monitor/templates/cronjob.yaml +++ /dev/null @@ -1,47 +0,0 @@ -apiVersion: batch/v1 -kind: CronJob -metadata: - name: {{ .Release.Name }}-monitor - labels: - app: {{ .Release.Name }}-monitor -spec: - schedule: "{{ .Values.cronJob.schedule }}" - timeZone: 'Etc/UTC' - concurrencyPolicy: Forbid - jobTemplate: - spec: - template: - metadata: - labels: - app: {{ .Release.Name }}-monitor - {{- if .Values.podAnnotations }} - annotations: - {{- .Values.podAnnotations | toYaml | nindent 12 }} - {{- end }} - spec: - restartPolicy: OnFailure - containers: - - name: jitsi-monitor - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - envFrom: - - configMapRef: - name: {{ .Release.Name }}-config - volumeMounts: - - name: screenshots - mountPath: /app/screenshots - volumes: - - name: screenshots - emptyDir: {} ---- -apiVersion: v1 -kind: Service -metadata: - name: {{ .Release.Name }}-monitor - -spec: - selector: - app: {{ .Release.Name }}-monitor - ports: - - name: http - port: 8000 diff --git a/charts/jitsi-monitor/templates/deployment.yaml b/charts/jitsi-monitor/templates/deployment.yaml new file mode 100644 index 0000000..f47b12a --- /dev/null +++ b/charts/jitsi-monitor/templates/deployment.yaml @@ -0,0 +1,33 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ .Release.Name }}-monitor + labels: + app: {{ .Release.Name }}-monitor +spec: + replicas: 1 + selector: + matchLabels: + app: {{ .Release.Name }}-monitor + template: + metadata: + labels: + app: {{ .Release.Name }}-monitor + {{- if .Values.podAnnotations }} + annotations: + {{- .Values.podAnnotations | toYaml | nindent 8 }} + {{- end }} + spec: + containers: + - name: jitsi-monitor + image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} + envFrom: + - configMapRef: + name: {{ .Release.Name }}-config + volumeMounts: + - name: screenshots + mountPath: /app/screenshots + volumes: + - name: screenshots + emptyDir: {} \ No newline at end of file diff --git a/charts/jitsi-monitor/values.yaml b/charts/jitsi-monitor/values.yaml index 3942cea..bc10526 100644 --- a/charts/jitsi-monitor/values.yaml +++ b/charts/jitsi-monitor/values.yaml @@ -1,6 +1,6 @@ image: repository: docker.ethquokkaops.io/ethquokkaops/ethdevops/jitsi-monitor-docker - tag: latest + tag: v0.1.4 pullPolicy: IfNotPresent config: jitsiUrl: "https://jitsihost" @@ -8,8 +8,6 @@ config: runtime: "60" mediaOption: "1" takeScreenshots: "false" -cronJob: - schedule: "15 * * * *" # Service configuration service: