From 206c0dc3fc28c0d45399e4e3231caf332f57aced Mon Sep 17 00:00:00 2001 From: Faizan Ahmad Date: Fri, 1 Mar 2024 12:22:17 +0100 Subject: [PATCH] Lower job history limit in sealed secret cronjob https://gitea.obmondo.com/EnableIT/rufvpto91t/issues/323 Signed-off-by: Faizan Ahmad --- argocd-helm-charts/sealed-secrets/templates/cronjob.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/argocd-helm-charts/sealed-secrets/templates/cronjob.yaml b/argocd-helm-charts/sealed-secrets/templates/cronjob.yaml index 7c55eaf9f..5561bc0f8 100644 --- a/argocd-helm-charts/sealed-secrets/templates/cronjob.yaml +++ b/argocd-helm-charts/sealed-secrets/templates/cronjob.yaml @@ -6,7 +6,7 @@ metadata: name: backup-sealed-secrets spec: concurrencyPolicy: Forbid - failedJobsHistoryLimit: 20 + failedJobsHistoryLimit: 5 jobTemplate: spec: template: @@ -70,6 +70,6 @@ spec: name: scripts schedule: {{ .Values.backup.schedule | quote }} startingDeadlineSeconds: 180 - successfulJobsHistoryLimit: 3 + successfulJobsHistoryLimit: 1 --- {{ end }}