Open prabirshrestha opened 4 years ago
Did you setup custom domain? if you set it up it should work as webhook service needs to expose itself.
How can one configure clusterdomain with Lets Encrypt. I only see one without it and manual keys.
if you want to use custom domain with lets encrypt, you might have to check cert-manager docs. You basically need to provide your credential of your dns provider https://cert-manager.io/docs/configuration/acme/dns01/. This is because wildcard certs needs to do dns-01 validation.
Rio only provision certs with letsencrypt for rdns. I assume you can use other acme tools to provision and renew your certs, and keep it into a kubernete secret and follow the docs to add the secret into rio.
I would like to use letsencrypt but instead of using on-rio.io
I would like to use customdomain.com
so it will look like blog.customdomain.com
.
This one does seem to support it https://github.com/rancher/rio/pull/1020 but I would need to deploy my own rdns server. Would be good if rdns server would be auto deployed with rio install.
https://github.com/rancher/rio/issues/851 also seems to have similar requests for custom domain with custom key and certs. I would like to have support for custom domains but with letsencrypt.
I want to accomplish something like this.
rio install --cluster-domain customdomain.com
Deploying clusterdomain with letsencrypt requires more efforts since we need a DNS provider and credential to provision TXT record. It will be better to manage your certs externally(through cert-manager) and add the cert secret to rio. https://github.com/rancher/rio/issues/851#issuecomment-577003817 sounds like an option.
But with https://github.com/rancher/rio/pull/1020 added and if you are able to provision your own Rdns server you should be able to use your customdomain natively in rio. I will see if I can add that in the next release and post a blog about the instruction.
Hmm. I use DNSSimple and register a wildcard domain pointing to ip and then have caprover generate certs for any subdomain and it seems to work.
It is a good start but would really love if RDNs would also get auto deployed with rio.
If rdns is disabled, webhook doesn't seem to work because the webhook url is
https://someurl.on-rio.io/hooks?....