From a0811c2cb3e71668e9c5f122ad7587ffe6d6eb87 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 23 Jan 2024 04:42:20 -0500 Subject: [PATCH] fix: move field to correct location --- plugins/scheduler-k3s/templates/chart/cron-job.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/scheduler-k3s/templates/chart/cron-job.yaml b/plugins/scheduler-k3s/templates/chart/cron-job.yaml index 13fbf4109..6e813cc12 100644 --- a/plugins/scheduler-k3s/templates/chart/cron-job.yaml +++ b/plugins/scheduler-k3s/templates/chart/cron-job.yaml @@ -21,6 +21,7 @@ metadata: spec: concurrencyPolicy: Allow failedJobsHistoryLimit: 10 + ttlSecondsAfterFinished: 60 jobTemplate: metadata: annotations: @@ -95,9 +96,8 @@ spec: imagePullSecrets: {{ $.Values.global.image.image_pull_secrets }} {{- end }} restartPolicy: Never - ttlSecondsAfterFinished: 60 schedule: {{ $config.cron.schedule }} startingDeadlineSeconds: 60 successfulJobsHistoryLimit: 10 suspend: false - timeZone: Etc/UTC \ No newline at end of file + timeZone: Etc/UTC