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 · 4 comments
Open

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

dcheng1248 opened this issue Dec 24, 2024 · 4 comments
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)

@geoand
Copy link
Contributor

geoand commented Dec 30, 2024

Sounds reasonable!

Would you like to contribute this feature?

@dcheng1248
Copy link
Author

I would love to! I'm a bit swamped these two weeks though and not experienced in open source projects. If it is not urgent from your side, I'll get onto it once I get some time on my hands.

@geoand
Copy link
Contributor

geoand commented Dec 31, 2024

Thanks! No rush!

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

2 participants