Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CronJobs should support timeZone field instead of CRON_TZ #76

Open
matthewmrichter opened this issue Sep 1, 2024 · 0 comments
Open

Comments

@matthewmrichter
Copy link

The Kubernetes cronJob spec does not support the CRON_TZ=xxx * * * * * format for crons and never did: https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#cron-job-limitations

Error: UPGRADE FAILED: an error occurred while rolling back the release. original upgrade error: cannot patch "hello-world-cron-1" with kind CronJob: CronJob.batch "hello-world-cron-1" is invalid: spec.schedule: Invalid value: "CRON_TZ=Etc/UTC */20 * * * *": cannot use TZ or CRON_TZ in schedule, use timeZone field instead 

Desired:

  • cronJobs.[name].timeZone parameter
  • cronJobsGeneral.timeZone parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant