kubernetes-sigs / cluster-api

Home for Cluster API, a subproject of sig-cluster-lifecycle
https://cluster-api.sigs.k8s.io
Apache License 2.0
3.5k stars 1.3k forks source link

Upgrade cert-manager for Kubernetes v1.22 #4983

Closed sbueringer closed 3 years ago

sbueringer commented 3 years ago

User Story

As an operator I would like to be able to use a Kubernetes v1.22 cluster as a management cluster.

Detailed Description

I tried to deploy our current cert-manager on Kubernetes v1.22-rc.0 and cert-manager-cainjector does not come up as it's using MutatingWebhookConfiguration/ValidatingWebhookConfiguration v1beta1:

error registering secret controller: no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"

Anything else you would like to add: cert-manager v1.4.0 seems to work.

Follow-up: We should probably try if all CAPI control plane components work on Kubernetes v1.22 (e.g. by (at least manually) running our e2e tests on a Kubernetes v1.22.0 cluster)

[Miscellaneous information that will assist in solving the issue.]

/kind feature

sbueringer commented 3 years ago

/assign

vincepri commented 3 years ago

/milestone v0.4

vincepri commented 3 years ago

/priority important-soon