mia-platform / mlp

cli for easier deployment of Mia-Platform Console projects
https://docs.mia-platform.eu/docs/runtime_suite_tools/mlp/overview
Apache License 2.0
12 stars 2 forks source link

[Bug]: CronJob `batchv1beta1` are still used #85

Open malta895 opened 1 year ago

malta895 commented 1 year ago

What version or versions you have tested?

all versions

Which operating systems have you used?

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

JGiola commented 11 months ago

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