fix templating list of yamls

Signed-off-by: Peejai <pieterjan.soetaert@robovision.eu>
This commit is contained in:
Peejai 2023-05-08 11:14:39 +02:00
parent c9acaed4f3
commit e8ec9de5a3
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ spec:
{{- end }}
{{- with .Values.controller.extraInitContainers }}
initContainers:
{{- tpl . $ | toYaml | nindent 8 }}
{{- tpl (toYaml .) $ | nindent 8 }}
{{- end }}
containers:
- name: controller

View file

@ -38,7 +38,7 @@ spec:
{{- end }}
{{- with .Values.server.extraInitContainers }}
initContainers:
{{- tpl . $ | toYaml | nindent 8 }}
{{- tpl (toYaml .) $ | nindent 8 }}
{{- end }}
containers:
- name: argo-server