From 6603e32a58ba753135b09c257e1f405665e58a5d Mon Sep 17 00:00:00 2001 From: Gazal Date: Thu, 16 Mar 2023 21:08:50 +1100 Subject: [PATCH] chore: increase the TTL for GitOps jobs The 1 day TTL seems a tad excessive. Could 7 days be a default? --- git-operator/job-azurekeyvault.yaml | 2 +- git-operator/job-gsm.yaml | 2 +- git-operator/job-vault.yaml | 2 +- git-operator/job.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/git-operator/job-azurekeyvault.yaml b/git-operator/job-azurekeyvault.yaml index bb82cfe6e..73034b18b 100644 --- a/git-operator/job-azurekeyvault.yaml +++ b/git-operator/job-azurekeyvault.yaml @@ -8,7 +8,7 @@ spec: backoffLimit: 4 completions: 1 parallelism: 1 - ttlSecondsAfterFinished: 86400 + ttlSecondsAfterFinished: 604800 # 7 Days template: metadata: labels: diff --git a/git-operator/job-gsm.yaml b/git-operator/job-gsm.yaml index bb82cfe6e..73034b18b 100644 --- a/git-operator/job-gsm.yaml +++ b/git-operator/job-gsm.yaml @@ -8,7 +8,7 @@ spec: backoffLimit: 4 completions: 1 parallelism: 1 - ttlSecondsAfterFinished: 86400 + ttlSecondsAfterFinished: 604800 # 7 Days template: metadata: labels: diff --git a/git-operator/job-vault.yaml b/git-operator/job-vault.yaml index bb82cfe6e..73034b18b 100644 --- a/git-operator/job-vault.yaml +++ b/git-operator/job-vault.yaml @@ -8,7 +8,7 @@ spec: backoffLimit: 4 completions: 1 parallelism: 1 - ttlSecondsAfterFinished: 86400 + ttlSecondsAfterFinished: 604800 # 7 Days template: metadata: labels: diff --git a/git-operator/job.yaml b/git-operator/job.yaml index bb82cfe6e..73034b18b 100644 --- a/git-operator/job.yaml +++ b/git-operator/job.yaml @@ -8,7 +8,7 @@ spec: backoffLimit: 4 completions: 1 parallelism: 1 - ttlSecondsAfterFinished: 86400 + ttlSecondsAfterFinished: 604800 # 7 Days template: metadata: labels: