I have letsencrypt deployed via the community catalog. It has since created a few certificates for me in the Rancer Infrastructure > Certificate section for me; hooray. Except, now, how do I give this certificate to a container that’d need its own certificate (e.g.: Docker Registry)? In this particular case, the container is looking for the certificate and key files as files inside the container. How would I share that information with the container?
One approach that comes to mind is to tie the certificate to Rancher’s Secrets service, which would then enable me to surface that information into /run/secrets/key
and /run/secrets/cert
, but I cannot find a way to do that.
Any tips would be greatly appreciated.
Thanks in advance!