By kevg
I have an easily reproducible problem where I create a Kubernetes cluster, install the NGINX Ingress controller, create and expose a hello world app, create an ingress with a routing rule to that app, create an ingress, install cert-manager, and either an Issuer or ClusterIssuer creates the right certificate but the ingress doesn’t pick it up. Any ideas? The reproduction steps are detailed in https://github.com/jetstack/cert-manager/issues/4012
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Looking at the GitHub issue you linked, it seems the certificate was being created correctly but ingress-nginx just never reloaded it. As far as I can tell, that was a known behavior in some older ingress-nginx versions, where the controller kept serving its default self-signed cert even though cert-manager had already updated the Secret.
Based on the issue, the usual work around was to restart the ingress controller or setting a default SSL certificate in the ingress-nginx args. In the original thread, switching from a wildcard host to a specific host also made ingress-nginx start serving the right cert.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.