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

Remove unused beta API usage for CronJob #394

Open
rhmdnd opened this issue Aug 29, 2023 · 1 comment
Open

Remove unused beta API usage for CronJob #394

rhmdnd opened this issue Aug 29, 2023 · 1 comment
Assignees

Comments

@rhmdnd
Copy link

rhmdnd commented Aug 29, 2023

The operator uses the Kubernetes CronJob API for running scans on a schedule.

We implemented a compatibility shim so that the operator would work on versions of OpenShift that used the beta CronJob API and the stable API.

e16c78f

The Kubernetes community graduated the CronJob API to stable in version 1.21.

At this point, there are no supported versions of OpenShift that use version 1.21, so we can consider removing this compatibility code and just rely on the stable CronJob interface.

https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/

@rhmdnd
Copy link
Author

rhmdnd commented Nov 17, 2023

I have a patch proposed in #476

@rhmdnd rhmdnd self-assigned this Nov 17, 2023
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