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