From b0f74ceed0d3fa213bd22fe72d74de33ba3f3406 Mon Sep 17 00:00:00 2001 From: Juan Pedro Torres Date: Wed, 9 Oct 2024 13:00:34 +0200 Subject: [PATCH] feat: change job backoffLimit and restartPolicy --- helm/stack-data-ums/templates/job-load-data-ums.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helm/stack-data-ums/templates/job-load-data-ums.yaml b/helm/stack-data-ums/templates/job-load-data-ums.yaml index 9dee0dc..e991731 100644 --- a/helm/stack-data-ums/templates/job-load-data-ums.yaml +++ b/helm/stack-data-ums/templates/job-load-data-ums.yaml @@ -13,6 +13,7 @@ metadata: {{ toYaml .Values.additionalAnnotations | nindent 4 }} {{- end }} spec: + backoffLimit: 6 template: metadata: name: {{ include "common.names.name" . }} @@ -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 }}