Add TLS ingress to Kubernetes deployment

8/13/2019

I have a working kubernetes cluster where ingress and letsencrypt is working just fine when I use helm charts. I have a deployment not included in a chart that I want to expose using ingress with TLS. How can I do this with kubectl commands?

EDIT: I can manually create an ingress but I don't have a secret so HTTPS won't work. So my question is probably "How to create a secret with letsencrypt to use on a new ingress for an existing deployment"

-- JSantos
google-kubernetes-engine
kubernetes
kubernetes-helm
kubernetes-ingress

1 Answer

8/13/2019

Google provides a way to do this for their own managed certificates. The documentation for it is at https://cloud.google.com/kubernetes-engine/docs/how-to/managed-certs.

-- Andy Shinn
Source: StackOverflow