diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 595be9b..7adb467 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - HELM_CHART_VERSION: "1.0.19" + HELM_CHART_VERSION: "1.0.20" stages: - deploy diff --git a/Chart/templates/job.yaml b/Chart/templates/job.yaml index c604b54..aa436e5 100644 --- a/Chart/templates/job.yaml +++ b/Chart/templates/job.yaml @@ -7,8 +7,10 @@ metadata: {{- include "..labels" . | nindent 4 }} cloudyne.systems/component: site-init spec: + backoffLimit: 2 template: spec: + restartPolicy: "OnFailure" affinity: {{ include "..affinity-labels" . | nindent 8 }} securityContext: fsGroup: 101