From 9b769370bbe5ba092cd6ddc4c245764a6bc51671 Mon Sep 17 00:00:00 2001 From: Dev Jadeja Date: Fri, 10 Jan 2025 17:27:58 +0530 Subject: [PATCH] fix: handling template in values files --- charts/py-app/templates/_helpers.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/py-app/templates/_helpers.tpl b/charts/py-app/templates/_helpers.tpl index fe89a68..3857c41 100644 --- a/charts/py-app/templates/_helpers.tpl +++ b/charts/py-app/templates/_helpers.tpl @@ -72,7 +72,7 @@ the main deployment are required. env: {{- range $key, $val := . }} - name: {{ $key }} - value: {{ $val | quote }} + value: {{ tpl (print $val) $ | quote }} {{- end }} {{- end }} {{- with .Values.externalSecrets }} @@ -82,4 +82,4 @@ envFrom: name: {{ $val.targetName }} {{- end }} {{- end }} -{{ end -}} \ No newline at end of file +{{ end -}}