When using certbot
to request certificates for a domain, it asks to serve a
specific file under that domain. This service should facilitate the process.
- In the domain provider, point the relevant domain(s) to the API of our
ingress. (You can find out the IP with
kubectl get ingress
.) - You then need to add the new domain(s) to the
deployment/ingress.yml
. - Configure the new rules
kubectl apply -f deployment/
. - When that was successful (check again with
kubectl get ingress
) copy the required file into the container.kubectl cp <local-file> <acme-challenge-pod>:/usr/share/nginx/challenges/ -c web
- Execute the certbot challenge.
- Rejoice!