Allow templating in extraInitContainers

Signed-off-by: PidgeyBE <pidgey.be@gmail.com>
Signed-off-by: Peejai <pieterjan.soetaert@robovision.eu>
This commit is contained in:
PidgeyBE 2023-05-05 13:23:16 +02:00 committed by Peejai
parent a99b021f15
commit 3c4b6b86b2

View file

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