From 9add9a70235ce7b3cb968c93e4046a5a3071b0c5 Mon Sep 17 00:00:00 2001 From: Clemens Geibel Date: Fri, 9 Jul 2021 16:06:45 +0200 Subject: [PATCH] Increased JobsHistoryLimit in cron.yaml --- .gitignore | 2 ++ src/main/resources/backup/cron.yaml | 4 ++-- src/test/cljc/dda/c4k_jira/backup_test.cljc | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index fd327f9..667b168 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,5 @@ public/js/ #valid-auth.edn #valid-config.edn my-auth.edn +auth.edn +config.edn diff --git a/src/main/resources/backup/cron.yaml b/src/main/resources/backup/cron.yaml index a98bcec..dd15add 100644 --- a/src/main/resources/backup/cron.yaml +++ b/src/main/resources/backup/cron.yaml @@ -6,8 +6,8 @@ metadata: app.kubernetes.part-of: jira spec: schedule: "10 23 * * *" - successfulJobsHistoryLimit: 0 - failedJobsHistoryLimit: 0 + successfulJobsHistoryLimit: 1 + failedJobsHistoryLimit: 1 jobTemplate: spec: template: diff --git a/src/test/cljc/dda/c4k_jira/backup_test.cljc b/src/test/cljc/dda/c4k_jira/backup_test.cljc index 46b6133..bde26e1 100644 --- a/src/test/cljc/dda/c4k_jira/backup_test.cljc +++ b/src/test/cljc/dda/c4k_jira/backup_test.cljc @@ -30,8 +30,8 @@ :metadata {:name "jira-backup" :labels {:app.kubernetes.part-of "jira"}} :spec {:schedule "10 23 * * *" - :successfulJobsHistoryLimit 0 - :failedJobsHistoryLimit 0 + :successfulJobsHistoryLimit 1 + :failedJobsHistoryLimit 1 :jobTemplate {:spec {:template