From 3c4b6b86b269a355bfaadac0b3c6420a3229dea9 Mon Sep 17 00:00:00 2001 From: PidgeyBE Date: Fri, 5 May 2023 13:23:16 +0200 Subject: [PATCH] Allow templating in extraInitContainers Signed-off-by: PidgeyBE Signed-off-by: Peejai --- .../templates/controller/workflow-controller-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml b/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml index 4ee117b8..8144545d 100644 --- a/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml +++ b/charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml @@ -35,7 +35,7 @@ spec: {{- end }} {{- with .Values.controller.extraInitContainers }} initContainers: - {{- toYaml . | nindent 8 }} + {{- tpl . $ | toYaml . | nindent 8 }} {{- end }} containers: - name: controller