fix: set ttl property at correct level for cronjobs
This commit is contained in:
1 parent
cf7d35601d
commit
1d07801f3c
1 file changed
+1
-1
@@ -21,7 +21,6 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
concurrencyPolicy: Allow
|
concurrencyPolicy: Allow
|
||||||
failedJobsHistoryLimit: 10
|
failedJobsHistoryLimit: 10
|
||||||
ttlSecondsAfterFinished: 60
|
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
@@ -40,6 +39,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
backoffLimit: 0
|
backoffLimit: 0
|
||||||
podReplacementPolicy: Failed
|
podReplacementPolicy: Failed
|
||||||
|
ttlSecondsAfterFinished: 60
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
|
|||||||
Reference in new issue
Block a user