cm3c
Contributor
Contributor

cert-manager-cainjector

We are curently testing the Data Solution Beta.
One issue we run into, is with the cert-manager-cainjector when delpoyig:

14:41:42.157760 1 start.go:151] cert-manager/ca-injector "msg"="Error registering certificate based controllers. Retrying after 5 seconds." "error"="no matches for kind \"MutatingWebhookConfiguration\" in version \"admissionregistration.k8s.io/v1beta1\" Error: error registering secret controller: no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"

We are running CAPVCD Cluster with TKGm 1.5.4 v1.22.9+vmware.1

Seems we are running a toooo new k8s version for your image (lough). look at "v1beta1" (hmmm - smile)

kubectl api-versions (pipe) grep admissionregistration

admissionregistration.k8s.io/v1

 

Merry Christmas guys!

Marian

 
0 Kudos
3 Replies
williamzz
Community Manager
Community Manager

Which version of cert-manager did you test? There is a similar issue https://github.com/cert-manager/cert-manager/issues/2817#issuecomment-967024612

Tags (1)
0 Kudos
cm3c
Contributor
Contributor

Hi,

we use the "default" cert-manager which was deployed with tkgm 1.5.4 k8s 1v.22.9:

app: cert-manager
    app.kubernetes.io/component: controller
    app.kubernetes.io/instance: cert-manager
    app.kubernetes.io/name: cert-manager
    app.kubernetes.io/version: v1.5.3
0 Kudos
williamzz
Community Manager
Community Manager

This version should be compatible with k8s 1.22 https://cert-manager.io/docs/installation/supported-releases/#supported-releases
Did this error only happen after DS installed? If yes, will this error disappear after DS uninstalled?

0 Kudos