Adding TLS to an ingress
You will now add HTTPS support to your application. To do this, you need a TLS certificate. You will be using the cert-manager
Kubernetes add-on to request a certificate from Let's Encrypt.
Note
Although this section focuses on using an automated service such as Let's Encrypt, you can still pursue the traditional path of buying a certificate from an existing CA and importing it into Kubernetes. Please refer to the Kubernetes documentation for more information on how to do this: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
There are a couple of steps involved. The process of adding HTTPS to the application involves the following:
- Install
cert-manager
, which interfaces with the Let's Encrypt API to request a certificate for the domain name you specify. - Install the certificate issuer, which will get the certificate from Let's Encrypt.
- Create an SSL certificate for a given Fully Qualified Domain...