Skip to content

Commit a1bdd71

Browse files
committed
feat: allow setting the restartPolicy for an initContainer
1 parent e8e1df4 commit a1bdd71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/keep/templates/backend.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ spec:
182182
volumeMounts: {{ toYaml . | nindent 12 }}
183183
{{- end }}
184184
{{- with .restartPolicy }}
185-
restartPolicy: {{ toYaml . | nindent 12 }}
185+
restartPolicy: {{ tpl (toYaml .) $ | nindent 12 }}
186186
{{- end }}
187187
{{- end }}
188188

0 commit comments

Comments
 (0)