Skip to content

Commit

Permalink
enabled jibri secret template but conditional data
Browse files Browse the repository at this point in the history
  • Loading branch information
emrahcom committed Jan 24, 2024
1 parent 867df9f commit d7b2494
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion templates/jibri/xmpp-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Values.jibri.enabled }}
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -7,6 +6,7 @@ metadata:
{{- include "jitsi-meet.jibri.labels" . | nindent 4 }}
type: Opaque
data:
{{- if .Values.jibri.enabled }}
JIBRI_XMPP_USER: '{{ .Values.jibri.xmpp.user | b64enc }}'
JIBRI_XMPP_PASSWORD: '{{ default (randAlphaNum 10) .Values.jibri.xmpp.password | b64enc }}'
JIBRI_RECORDER_USER: '{{ .Values.jibri.recorder.user | b64enc }}'
Expand Down
7 changes: 3 additions & 4 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -410,16 +410,15 @@ prosody:
server:
extraEnvFrom:
- secretRef:
name: '{{ include "prosody.fullname" . }}-jigasi'
name: '{{ include "prosody.fullname" . }}-jibri'
- secretRef:
name: '{{ include "prosody.fullname" . }}-jicofo'
- secretRef:
name: '{{ include "prosody.fullname" . }}-jigasi'
- secretRef:
name: '{{ include "prosody.fullname" . }}-jvb'
- configMapRef:
name: '{{ include "prosody.fullname" . }}-common'
## Uncomment this if you want to use jibri:
# - secretRef:
# name: '{{ include "prosody.fullname" . }}-jibri'
image:
repository: jitsi/prosody
tag: 'stable-9111'

0 comments on commit d7b2494

Please sign in to comment.