Skip to content

Commit

Permalink
Add existing secret for REDIS
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Mizzaro committed Oct 28, 2024
1 parent f122f8d commit 59ff8a3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions livekit-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ spec:
- name: LIVEKIT_TURN_KEY
value: /etc/lkcert/tls.key
{{- end }}
{{- if .Values.livekit.redis.existingSecret }}
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.livekit.redis.existingSecret }}
key: password
{{- end}}
ports:
- name: http
containerPort: {{ .Values.livekit.port }}
Expand Down
1 change: 1 addition & 0 deletions livekit-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ livekit:
# db: 0
# username:
# password:
# existingSecret:
# key value pairs (<api_key>: >api_secret>)
keys:
{}
Expand Down
1 change: 1 addition & 0 deletions server-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ livekit:
# db: 0
# username:
# password:
# existingSecret:
# use_tls: true
# one or more API key/secret pairs
# see https://docs.livekit.io/guides/getting-started/#generate-api-key-and-secret
Expand Down

0 comments on commit 59ff8a3

Please sign in to comment.