Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

video: create persistent internal user #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions team-video/templates/deploy_prosody.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@ spec:
lifecycle:
postStart:
exec:
command: ["/bin/bash", "-c", "sleep 60; prosodyctl --config /config/prosody.cfg.lua register {{ .Values.auth.admin.user }} {{ .Values.app.name }}.{{ .Values.app.domain }} {{ .Values.auth.admin.password }}"]
command:
- "/bin/bash"
- "-c"
- |-
sleep 60
{{- $app := .Values.app }}
{{- range .Values.auth.users }}
prosodyctl --config /config/prosody.cfg.lua register {{ .name }} {{ $app.name }}.{{ $app.domain }} {{ .password }}
{{- end }}
{{end}}
image: jitsi/prosody
imagePullPolicy: {{ .Values.app.pullpolicy }}
Expand Down Expand Up @@ -71,4 +79,4 @@ spec:
- name: XMPP_INTERNAL_MUC_DOMAIN
value: internal-muc.{{ .Values.app.name }}.{{ .Values.app.domain }}
- name: TZ
value: Europe/Paris
value: Europe/Paris
6 changes: 3 additions & 3 deletions team-video/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ auth:
enabled: false
guests: true
type: "internal"
admin:
user: admin
password: "jitsiAdmin"
users:
- name: admin
password: "jitsiAdmin"

logLevel: "info"
hideWelcomePage: true
Expand Down
6 changes: 3 additions & 3 deletions values-video.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ auth:
guests: true
# internal auth
type: internal
admin:
user: admin
password: "jitsiAdmin"
users:
- name: admin
password: "jitsiAdmin"
# ldap auth - remove above "type: internal" auth to use it
#type: ldap
#ldapauthmethod: bind
Expand Down