From ad5632edd2fdcc1e1ba0c17411962f428d16cbb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9COmar?= <“omarg@simplify9.com”> Date: Wed, 26 Aug 2026 15:23:40 +0300 Subject: [PATCH] fix: use root context for secretKeyRef name in extra secrets loop Inside range $key, $values := .Values.secrets, "." is rebound to each map value, so include "project.fullname" . failed with "can't evaluate field Values in type string" as soon as .Values.secrets had any entry (e.g. Bitween__SettingsEncryptionKey). $root was already captured for this purpose one line above but never used. Co-Authored-By: Claude Sonnet 5 --- charts/default/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/default/templates/deployment.yaml b/charts/default/templates/deployment.yaml index 9cea016..70bd3e3 100644 --- a/charts/default/templates/deployment.yaml +++ b/charts/default/templates/deployment.yaml @@ -269,7 +269,7 @@ spec: - name: {{ $key }} valueFrom: secretKeyRef: - name: {{ template "project.fullname" . }} + name: {{ template "project.fullname" $root }} key: {{ $key }} {{- end }}