refactor: respect the maintenance value of the cron task instead of skipping them

The former method would omit the CronJob objects entirely, meaning a redeploy would be necessary to re-enable them.
This commit is contained in:
Jose Diaz-Gonzalez committed 2025-11-09 23:16:38 -05:00
1 parent 1674d02af9
commit c885205b91
3 files changed
+4 -9

No files matched your search

@@ -135,6 +135,6 @@ spec:
schedule: {{ $config.cron.schedule }}
startingDeadlineSeconds: 60
successfulJobsHistoryLimit: 10
suspend: false
suspend: {{ $config.cron.suspend }}
timeZone: Etc/UTC
{{- end }}