From db8d2b574735ade5e590ef32a68c19b6728f83d8 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sat, 8 Apr 2023 22:57:57 -0400 Subject: [PATCH] Add limit to cronjob history --- cluster/apps/download/mylar3/cache-cronjob.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cluster/apps/download/mylar3/cache-cronjob.yaml b/cluster/apps/download/mylar3/cache-cronjob.yaml index 74a665d..918b917 100644 --- a/cluster/apps/download/mylar3/cache-cronjob.yaml +++ b/cluster/apps/download/mylar3/cache-cronjob.yaml @@ -6,6 +6,8 @@ metadata: spec: # 4am every day schedule: "0 4 * * *" + successfulJobsHistoryLimit: 1 + failedJobsHistoryLimit: 2 jobTemplate: spec: template: