Skip to content

Commit

Permalink
chore(jobs): add ttl of 30 days to job templates (#1070)
Browse files Browse the repository at this point in the history
* chore(jobs): add ttl of 30 days to job templates

* change TTL to 7 days (604800)
  • Loading branch information
deer-wmde authored Aug 9, 2023
1 parent 86d293f commit c8d9e31
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions k8s/jobs/changeReplicationPasswordOnSecondary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
template:
spec:
ttlSecondsAfterFinished: 604800
containers:
- name: change-replication-password-on-secondary
image: docker.io/bitnami/mariadb:10.5.15-debian-10-r52
Expand Down
1 change: 1 addition & 0 deletions k8s/jobs/elasticSearchImportJob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ spec:
metadata:
name: load-elasticsearch-data
spec:
ttlSecondsAfterFinished: 604800
containers:
- name: import-elasticsearch
command:
Expand Down
1 change: 1 addition & 0 deletions k8s/jobs/forceSearchIndexFrom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ spec:
metadata:
name: force-search-index-from
spec:
ttlSecondsAfterFinished: 604800
containers:
- name: force-search-index-from
command:
Expand Down
1 change: 1 addition & 0 deletions k8s/jobs/rebuildQuantityUnitsJob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ spec:
metadata:
name: rebuild-quantity-units
spec:
ttlSecondsAfterFinished: 604800
containers:
- name: rebuild-quantity-units
command:
Expand Down
1 change: 1 addition & 0 deletions k8s/jobs/resetOtherSqlSecretsJob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
template:
spec:
ttlSecondsAfterFinished: 604800
containers:
- name: reset-other-sql-secrets-job
image: docker.io/bitnami/mariadb:10.5.15-debian-10-r52
Expand Down
1 change: 1 addition & 0 deletions k8s/jobs/resetRootSqlSecretJob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
template:
spec:
ttlSecondsAfterFinished: 604800
containers:
- name: reset-root-sql-secret-job
image: docker.io/bitnami/mariadb:10.5.15-debian-10-r52
Expand Down
1 change: 1 addition & 0 deletions k8s/jobs/runAllMWJobsJob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ spec:
metadata:
name: run-all-mw-jobs
spec:
ttlSecondsAfterFinished: 604800
containers:
- name: run-all-mw-jobs
command:
Expand Down

0 comments on commit c8d9e31

Please sign in to comment.