From 44c074532b4cbfae00838b9bd92cb4df8a60b2aa Mon Sep 17 00:00:00 2001 From: Nicolas Date: Mon, 18 Aug 2025 17:13:31 +0800 Subject: [PATCH] modified: freeleaps/helm-pkg/chat/templates/chat/deployment.yaml --- freeleaps/helm-pkg/chat/templates/chat/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freeleaps/helm-pkg/chat/templates/chat/deployment.yaml b/freeleaps/helm-pkg/chat/templates/chat/deployment.yaml index f57f7cb3..d331e732 100644 --- a/freeleaps/helm-pkg/chat/templates/chat/deployment.yaml +++ b/freeleaps/helm-pkg/chat/templates/chat/deployment.yaml @@ -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 }}