refactor(helm): set backoffLimit for jobs to 0
This commit is contained in:
parent
d5c7b2cf84
commit
7f8bed3483
2 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ metadata:
|
||||||
"helm.sh/hook-weight": "-10"
|
"helm.sh/hook-weight": "-10"
|
||||||
"helm.sh/hook-delete-policy": before-hook-creation #,hook-succeeded
|
"helm.sh/hook-delete-policy": before-hook-creation #,hook-succeeded
|
||||||
spec:
|
spec:
|
||||||
backoffLimit: 1
|
backoffLimit: 0
|
||||||
ttlSecondsAfterFinished: 86400 # 1 day
|
ttlSecondsAfterFinished: 86400 # 1 day
|
||||||
activeDeadlineSeconds: 120 # 2 minutes
|
activeDeadlineSeconds: 120 # 2 minutes
|
||||||
template:
|
template:
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ metadata:
|
||||||
"helm.sh/hook-weight": "-5"
|
"helm.sh/hook-weight": "-5"
|
||||||
"helm.sh/hook-delete-policy": before-hook-creation #,hook-succeeded
|
"helm.sh/hook-delete-policy": before-hook-creation #,hook-succeeded
|
||||||
spec:
|
spec:
|
||||||
backoffLimit: 1
|
backoffLimit: 0
|
||||||
ttlSecondsAfterFinished: 86400 # 1 day
|
ttlSecondsAfterFinished: 86400 # 1 day
|
||||||
activeDeadlineSeconds: 120 # 2 minutes
|
activeDeadlineSeconds: 120 # 2 minutes
|
||||||
template:
|
template:
|
||||||
|
|
|
||||||
Reference in a new issue