Copy the configuration templates and change the file according to your needs.
# in folder deployment/digital-ocean/https/cptemplates/issuer.template.yaml./issuer.yamlcptemplates/ingress.template.yaml./ingress.yaml
At least, change email addresses in issuer.yaml. For sure you also want to change the domain name in ingress.yaml.
Once you are done, apply the configuration:
# in folder deployment/digital-ocean/https/$kubectlapply-f.
By now, your cluster should have a load balancer assigned with an external IP address. On Digital Ocean, this is how it should look like:
Screenshot of Digital Ocean dashboard showing external ip address
Check the ingress server is working correctly:
If the response looks good, configure your domain registrar for the new IP address and the domain.
Now let's get a valid HTTPS certificate. According to the tutorial above, check your tls certificate for staging:
If everything looks good, update the issuer of your ingress. Change the annotation certmanager.k8s.io/issuer from letsencrypt-staging to letsencrypt-prod in your ingress configuration in ingress.yaml.
Delete the former secret to force a refresh:
Now, HTTPS should be configured on your domain. Congrats.