diff --git a/charts/common/templates/_podSpec.yaml b/charts/common/templates/_podSpec.yaml index f7620d5f..8f91be1c 100644 --- a/charts/common/templates/_podSpec.yaml +++ b/charts/common/templates/_podSpec.yaml @@ -15,6 +15,9 @@ initContainers: - name: {{ .name }} image: "{{ .image }}:{{ .tag }}" imagePullPolicy: {{ .imagePullPolicy | default "IfNotPresent" }} + {{- if .restartPolicy }} + restartPolicy: "{{ .restartPolicy }}" + {{- end }} {{- include "common.envFromRef.tpl" $ | nindent 4 }} {{- if .command }} command: