EDITD / kubetools

:nut_and_bolt: Kubetools is a tool and processes for developing and deploying microservices to Kubernetes.
MIT License
13 stars 2 forks source link

Remove support for CronJob api version 'batch/v1beta1' #138

Open DilaraOflaz opened 1 year ago

DilaraOflaz commented 1 year ago

Describe the bug Currently Kubetools v13.9.3 support CronJob api versions 'batch/v1beta1' & 'batch/v1' Because we force Kubernetes library to be >=21.7.0 and <25.0.0

When we will upgrade Kubernetes version to a version >=25.0.0, CronJob api versions 'batch/v1beta1' won't work anymore. So we will have to remove the support for it in our code.

Additional context CronJob apiVersion: batch/v1 is supported by Kubernetes version v1.21+, here is the doc For lower versions we have to use apiVersion: batch/v1beta1 The latest version of Kubernetes that supports apiVersion: batch/v1beta1 is v1.24+, here is the doc