Skip to content

Commit

Permalink
[Jitsi-Monitor] Replace CronJob with Deployment, update version
Browse files Browse the repository at this point in the history
  • Loading branch information
gcordalis committed Oct 29, 2024
1 parent ed68a60 commit 158b22e
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 51 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.4
version: 0.1.5

# App metadata
appVersion: "v0.1.3"
Expand Down
1 change: 1 addition & 0 deletions charts/jitsi-monitor/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ data:
RUNTIME: "{{ .Values.config.runtime }}"
MEDIA_OPTION: "{{ .Values.config.mediaOption }}"
TAKE_SCREENSHOTS: "{{ .Values.config.takeScreenshots }}"
CONTINUOUS_MODE: "true"
47 changes: 0 additions & 47 deletions charts/jitsi-monitor/templates/cronjob.yaml

This file was deleted.

33 changes: 33 additions & 0 deletions charts/jitsi-monitor/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -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: {}
4 changes: 1 addition & 3 deletions charts/jitsi-monitor/values.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
image:
repository: docker.ethquokkaops.io/ethquokkaops/ethdevops/jitsi-monitor-docker
tag: latest
tag: v0.1.4
pullPolicy: IfNotPresent
config:
jitsiUrl: "https://jitsihost"
bridgeRegions: "au,eu,us"
runtime: "60"
mediaOption: "1"
takeScreenshots: "false"
cronJob:
schedule: "15 * * * *"

# Service configuration
service:
Expand Down

0 comments on commit 158b22e

Please sign in to comment.