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

Add quarkus.openshift.cron-job.timezone property #45285

Open
dcheng1248 opened this issue Dec 24, 2024 · 1 comment
Open

Add quarkus.openshift.cron-job.timezone property #45285

dcheng1248 opened this issue Dec 24, 2024 · 1 comment
Labels

Comments

@dcheng1248
Copy link

Description

Currently, if quarkus.openshift.deployment-kind=CronJob, the deployed cronjob uses the default UTC timezone when scheduling jobs according to the quarkus.openshift.cron-job.schedule property. This is the case even when quarkus.openshift.env.vars.tz is set to a different time zone.

The command
oc patch cronjobs app-name -p '{"spec": {"timeZone": "Time/Zone/Wanted" }}'
is needed after the deployment to change the time zone.

It would be great if a quarkus.openshift.cron-job.timezone property could be created that sets the cronjob time zone.

Implementation ideas

No response

@dcheng1248 dcheng1248 added the kind/enhancement New feature or request label Dec 24, 2024
Copy link

quarkus-bot bot commented Dec 24, 2024

/cc @geoand (openshift), @iocanel (openshift)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant