From be376cc184edc169f4e7af7762bfd0a75c4628fc Mon Sep 17 00:00:00 2001 From: Rudraksh Pareek Date: Thu, 24 Oct 2024 09:15:32 +0530 Subject: [PATCH] chore: update TTL in other jobs Signed-off-by: Rudraksh Pareek --- k8s-risk-assessment-job/templates/job.yaml | 2 ++ k8tls-job/templates/k8tls-job.yaml | 2 ++ kiem-job/templates/job.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/k8s-risk-assessment-job/templates/job.yaml b/k8s-risk-assessment-job/templates/job.yaml index f78bf66..8200398 100644 --- a/k8s-risk-assessment-job/templates/job.yaml +++ b/k8s-risk-assessment-job/templates/job.yaml @@ -4,6 +4,8 @@ metadata: name: k8s-risk-assessment-job namespace: {{ .Release.Namespace }} spec: + # keep the job for 2 hours after successful completion + ttlSecondsAfterFinished: 7200 template: metadata: labels: diff --git a/k8tls-job/templates/k8tls-job.yaml b/k8tls-job/templates/k8tls-job.yaml index 7aef681..2a4125d 100644 --- a/k8tls-job/templates/k8tls-job.yaml +++ b/k8tls-job/templates/k8tls-job.yaml @@ -4,6 +4,8 @@ metadata: name: k8tls-job namespace: {{ .Release.Namespace }} spec: + # keep the job for 2 hours after successful completion + ttlSecondsAfterFinished: 7200 template: metadata: name: k8tls-job diff --git a/kiem-job/templates/job.yaml b/kiem-job/templates/job.yaml index a612d73..11651df 100644 --- a/kiem-job/templates/job.yaml +++ b/kiem-job/templates/job.yaml @@ -4,6 +4,8 @@ metadata: name: kiem-job namespace: {{ .Release.Namespace }} spec: + # keep the job for 2 hours after successful completion + ttlSecondsAfterFinished: 7200 template: metadata: labels: