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

[Bug]: CronJob batchv1beta1 are still used #85

Open
1 of 4 tasks
malta895 opened this issue Aug 9, 2023 · 1 comment
Open
1 of 4 tasks

[Bug]: CronJob batchv1beta1 are still used #85

malta895 opened this issue Aug 9, 2023 · 1 comment
Labels
bug Something isn't working needs triage This issue or pull request needs to be categorized

Comments

@malta895
Copy link

malta895 commented Aug 9, 2023

What version or versions you have tested?

all versions

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

What did you expect to happen?

If this does not imply compatibility issues, CronJobs should be used with batchv1 k8s API version

What happened instead?

In this repo there are few cases in which CronJobs are still used from the batchv1beta1 version, while they are in batchv1 since K8s 1.21 included.

As far as I know, Mia-Platform has dropped support for Kubernetes 1.20, so I think there's no longer need to use batchv1 for the CronJobs.

Code of Conduct

  • I agree to follow this project’s Code of Conduct
@malta895 malta895 added bug Something isn't working needs triage This issue or pull request needs to be categorized labels Aug 9, 2023
@JGiola
Copy link
Member

JGiola commented Oct 30, 2023

Hi, the batchv1beta1 version are still used for compatibility with console versions where the cronjob generated are of that apiVersion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage This issue or pull request needs to be categorized
Projects
None yet
Development

No branches or pull requests

2 participants