Kubernetes v1.22 release stopped serving the following deprecated API versions:
Webhook
The admissionregistration.k8s.io/v1beta1 API version of MutatingWebhookConfiguration and ValidatingWebhookConfiguration is no longer served as of v1.22.
CustomResourceDefinition
The apiextensions.k8s.io/v1beta1 API version of CustomResourceDefinition is no longer served as of v1.22.
This PR migrates -
manifests and API clients to use the admissionregistration.k8s.io/v1 API version, available since v1.16.
manifests and API clients to use the apiextensions.k8s.io/v1 API version, available since v1.16.
Which issue(s) this PR fixes:
Fixes #32
Special notes for your reviewer:
Tested with a local seed on 1.21.8 as well as an upgrade to the seed to v1.22+.
Release note:
Migrated the manifests and clients to use the `admissionregistration.k8s.io/v1` and `admissionregistration.k8s.io/v1` as supported from k8s v1.22 onwards.
Please ensure to update your deployment to Kupid `v0.2.0` on your garden cluster before creating a seed with k8s v1.22 or higher.
What this PR does / why we need it:
Kubernetes v1.22 release stopped serving the following deprecated API versions:
Webhook The
admissionregistration.k8s.io/v1beta1
API version ofMutatingWebhookConfiguration
andValidatingWebhookConfiguration
is no longer served as ofv1.22
.CustomResourceDefinition The
apiextensions.k8s.io/v1beta1
API version of CustomResourceDefinition is no longer served as ofv1.22
.This PR migrates -
admissionregistration.k8s.io/v1
API version, available sincev1.16
.apiextensions.k8s.io/v1
API version, available sincev1.16
.Which issue(s) this PR fixes: Fixes #32
Special notes for your reviewer: Tested with a local seed on 1.21.8 as well as an upgrade to the seed to v1.22+.
Release note: