From d1775ddbe480b35915032b4df068e0516fabbf36 Mon Sep 17 00:00:00 2001 From: nomadics9 Date: Sun, 12 Jan 2025 19:31:04 +0300 Subject: [PATCH] cronjobs jobs limit --- backups/cronjobs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backups/cronjobs.yaml b/backups/cronjobs.yaml index 0dc0c18..195d8d4 100644 --- a/backups/cronjobs.yaml +++ b/backups/cronjobs.yaml @@ -5,6 +5,8 @@ metadata: namespace: backups spec: schedule: "0 2 * * *" # Runs daily at 2 AM + successfulJobsHistoryLimit: 1 + failedJobsHistoryLimit: 1 jobTemplate: spec: template: @@ -28,10 +30,8 @@ spec: volumeMounts: - name: nfs-configs mountPath: /configs - - name: nfs-git mountPath: /git - - name: nfs-backups mountPath: /backups securityContext: