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

被刻印的时光 ゝ 提交于 2020-07-23 07:38:25

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/58754832/istio-kubernetes-ingress-with-cert-manager-no-matches-for-kind-certificate-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!