reactive-tech / kubegres

Kubegres is a Kubernetes operator allowing to deploy one or many clusters of PostgreSql instances and manage databases replication, failover and backup.

Home Page:https://www.kubegres.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The API version batch/v1beta1 does no longer exist since Kubernetes v1.25

IcarusCoding opened this issue · comments

The beta API version used for CronJob no longer exists and must therefore be replaced by the batch/v1 version as stated in the Deprecated API Migration Guide.

Thank you.
I will release a new version of Kubegres next week in order to use the new CronJob in batch/v1

I also opened a PR for it

Thank you. I will test your PR locally next week and run all the unit/acceptance tests.

I did not merge your changes because I had to upgrade the framework Kubebuilder from version 3.0.0 to 3.6.0 and there were too many changes.

Kubegres 1.16 is available and it is compatible with Kubernetes 1.25 and it uses the new CronJob:
https://github.com/reactive-tech/kubegres/releases/tag/v1.16