Skip to content

Commit e851484

Browse files
authored
fix: reduce success and failed job history limit to 0 (#12)
* feat: added sidecar to clean pvc after backups * feat: deleted the sidecars and configurate sucessfuljobhistorylimit to 0 and failedjobshistorylimit to 1 * feat: change field failedJobsHistoryLimit to 0
1 parent 1f3f7d8 commit e851484

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drydock_backups/patches/k8s-jobs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ spec:
99
suspend: false
1010
schedule: {{ BACKUP_CRON_SCHEDULE }}
1111
startingDeadlineSeconds: 900
12-
successfulJobsHistoryLimit: 3
13-
failedJobsHistoryLimit: 3
12+
successfulJobsHistoryLimit: 0
13+
failedJobsHistoryLimit: 0
1414
jobTemplate:
1515
spec:
1616
template:
@@ -89,8 +89,8 @@ spec:
8989
suspend: false
9090
schedule: {{ BACKUP_CRON_SCHEDULE }}
9191
startingDeadlineSeconds: 900
92-
successfulJobsHistoryLimit: 3
93-
failedJobsHistoryLimit: 3
92+
successfulJobsHistoryLimit: 0
93+
failedJobsHistoryLimit: 0
9494
jobTemplate:
9595
spec:
9696
template:

0 commit comments

Comments
 (0)