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

migrate all cronjobs to batch/v1 apiVersion #164

Merged
merged 4 commits into from
Feb 3, 2023
Merged

Conversation

tobybellwood
Copy link
Member

In Kubernetes 1.25, the batch/v1beta1 apiVersion for Cronjob has been deprecated, and batch/v1 should be used instead. There are no notable changes so this is a straight api upgrade.

Note that this will require a minimum Kubernetes version 1.21 to run, in line with Lagoon 2.12 release.

Closes #129

@shreddedbacon
Copy link
Member

This is good to go, but if merged now we need to make sure that all versions of released things note the 1.21+ requirement

@tobybellwood
Copy link
Member Author

updated all chart reqs in uselagoon/lagoon-charts#526

@shreddedbacon
Copy link
Member

Once that is merged, then we can merge this one. I'd hate to release this before the minimum is released.

@tobybellwood
Copy link
Member Author

I've had to pin the version of openssh and its dependency openssh-client-common to 9.1_p1-r2 to get around a transient error in the Alpine package registry - this should resolve itself - I'll put a PR in to remove the pin once this has been merged.

@tobybellwood tobybellwood merged commit b3d4a88 into main Feb 3, 2023
@tobybellwood tobybellwood deleted the batchv1_cronjob branch February 3, 2023 05:01
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

Successfully merging this pull request may close these issues.

CronJob API version update to batch/v1
2 participants