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:
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 }}
|
||||
Reference in new issue
Block a user