From db82ef00fc90b406e326f6848ea4c2940830cbf4 Mon Sep 17 00:00:00 2001 From: Keith Suderman Date: Sun, 17 Mar 2024 15:00:24 -0400 Subject: [PATCH] Run extraEnv values through the template engine --- galaxy/templates/cronjob-maintenance.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/galaxy/templates/cronjob-maintenance.yaml b/galaxy/templates/cronjob-maintenance.yaml index c6366435..25a069b6 100644 --- a/galaxy/templates/cronjob-maintenance.yaml +++ b/galaxy/templates/cronjob-maintenance.yaml @@ -37,7 +37,10 @@ spec: {{- include "galaxy.podEnvVars" $}} {{- end }} {{- if $cronjob.extraEnv }} - {{- $cronjob.extraEnv | toYaml | nindent 12 }} + {{- range $env := $cronjob.extraEnv }} + - name: {{ $env.name }} + value: {{ tpl $env.value $ | quote }} + {{- end }} {{- end }} {{- end }} command: