diff --git a/charts/mail-mta-autoconfig/v0.1.0/templates/cronjob.yaml b/charts/mail-mta-autoconfig/v0.1.0/templates/cronjob.yaml index 643c43e..6333b1e 100644 --- a/charts/mail-mta-autoconfig/v0.1.0/templates/cronjob.yaml +++ b/charts/mail-mta-autoconfig/v0.1.0/templates/cronjob.yaml @@ -21,6 +21,7 @@ spec: {{- end }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 12 }} + restartPolicy: OnFailure containers: - name: {{ .Release.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"