Istio Kubernetes Ingress with Cert-Manager: no matches for kind "Certificate" in version "certmanager.k8s.io/v1alpha1"

11/7/2019

I'm trying to configure HTTPS for my K8s/Istio cluster. I'm following this official tutorial step by step multiple times from scratch and get the same error every time when try to create a Certificate resource.

no matches for kind "Certificate" in version "certmanager.k8s.io/v1alpha1"

I tried to install cert-manager and its CRD manually based on official docs and no help.

cert-manager-5ff755b6d5-9ncgr                               1/1       Running     0          6m55s
cert-manager-cainjector-576978ffc8-4db4l                    1/1       Running     0          6m55s
cert-manager-webhook-c67fbc858-wvtgs                        1/1       Running     0          6m55s

Can't find any piece of information regarding this error since it works foe everyone after installing out of the box or after installing cert-manager's CRD.

-- Max
cert-manager
istio
kubernetes
lets-encrypt
ssl

1 Answer

11/8/2019

I suggest you to try this installation for cert-manager and thereafter you can follow this stackoverflow post , it will get the issue sorted, I guess. You just need to make few substitutions at places where ingress has to be replaced with istio.

Kindly use

apiVersion: cert-manager.io/v1alpha2

in clusterissuer, if the apiVersion for clusterIssuer present in that stackoverflow post is not acceptable

-- Tushar Mahajan
Source: StackOverflow