Skip to content

Commit

Permalink
Merge pull request #100 from emrahcom/jibri-secret
Browse files Browse the repository at this point in the history
Enable the jibri secret template by default but data are conditional
  • Loading branch information
spijet authored Jan 24, 2024
2 parents 867df9f + d7b2494 commit d81ce9a
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 d81ce9a

Please sign in to comment.