Merge pull request 'modified: freeleaps/helm-pkg/chat/templates/chat/deployment.yaml' (#69) from Nicolas_local_ops into master
Reviewed-on: https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops/pulls/69
This commit is contained in:
commit
dc84dacdf5
@ -103,12 +103,14 @@ spec:
|
||||
{{- end}}
|
||||
env:
|
||||
{{- range $key, $value := .Values.chat.configs }}
|
||||
{{- if not (or (eq $key "mongodbUri") (eq $key "jwtSecretKey") (eq $key "stripeApiKey") (eq $key "stripeWebhookSecret") (eq $key "stripeAccountWebhookSecret") (eq $key "rabbitmqPassword") (eq $key "redisUrl")) }}
|
||||
- name: {{ $key | snakecase | upper }}
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: chat-config
|
||||
key: {{ $key | snakecase | upper }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.chat.secrets }}
|
||||
{{ $targetSecretName := .Values.chat.secrets.target.name }}
|
||||
{{- range .Values.chat.secrets.data }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user