Skip to content

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

@DilaraOflaz

Description

@DilaraOflaz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions