Skip to content

Commit

Permalink
feat: change job backoffLimit and restartPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanPTM committed Oct 9, 2024
1 parent b90f24d commit b0f74ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helm/stack-data-ums/templates/job-load-data-ums.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ metadata:
{{ toYaml .Values.additionalAnnotations | nindent 4 }}
{{- end }}
spec:
backoffLimit: 6
template:
metadata:
name: {{ include "common.names.name" . }}
Expand All @@ -25,7 +26,7 @@ spec:
{{ toYaml .Values.additionalAnnotations | nindent 8 }}
{{- end }}
spec:
restartPolicy: "OnFailure"
restartPolicy: Never
{{- if or .Values.pullSecrets .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.global.imagePullSecrets }}
Expand Down

0 comments on commit b0f74ce

Please sign in to comment.