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:
Nicolas 2025-08-18 09:14:20 +00:00
commit dc84dacdf5

View File

@ -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 }}