marcel-dempers / docker-development-youtube-series

5.3k stars 4.09k forks source link

selfsigned/issuer.yaml - error #153

Closed forvaidya closed 2 years ago

forvaidya commented 2 years ago

I am following steps from docker-development-youtube-series/kubernetes/cert-manager/Readme.md

I get an error while doing kubectl apply -f ./selfsigned/issuer.yaml Error from server (InternalError): error when creating "./selfsigned/issuer.yaml": Internal error occurred: failed calling webhook "webhook.cert-manager.io": failed to call webhook: Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": x509: certificate signed by unknown authority

marcel-dempers commented 2 years ago

It sounds like you have a misconfigured install. I'd make sure you have the right version of cert-manager for the k8s cluster you have. Note this guide was done on an older K8s version. You may need a newer version. Checkout https://cert-manager.io/docs/installation/ for the newer install