modified: freeleaps/helm-pkg/chat/templates/chat/deployment.yaml
This commit is contained in:
parent
377250ce6a
commit
44c074532b
@ -103,12 +103,14 @@ spec:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
env:
|
env:
|
||||||
{{- range $key, $value := .Values.chat.configs }}
|
{{- 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 }}
|
- name: {{ $key | snakecase | upper }}
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: chat-config
|
name: chat-config
|
||||||
key: {{ $key | snakecase | upper }}
|
key: {{ $key | snakecase | upper }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.chat.secrets }}
|
{{- if .Values.chat.secrets }}
|
||||||
{{ $targetSecretName := .Values.chat.secrets.target.name }}
|
{{ $targetSecretName := .Values.chat.secrets.target.name }}
|
||||||
{{- range .Values.chat.secrets.data }}
|
{{- range .Values.chat.secrets.data }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user