Added restart policy to job
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
variables:
|
||||
HELM_CHART_VERSION: "1.0.19"
|
||||
HELM_CHART_VERSION: "1.0.20"
|
||||
|
||||
stages:
|
||||
- deploy
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user