From 57754e9ec3775623f9ba96da2223e2edd5829f5d Mon Sep 17 00:00:00 2001 From: Fabio Date: Tue, 16 Aug 2022 11:45:42 -0300 Subject: [PATCH] mail-mta-autoconfig job was missing restartPolicy --- charts/mail-mta-autoconfig/v0.1.0/templates/cronjob.yaml | 1 + 1 file changed, 1 insertion(+) 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 }}"