rpardini / docker-registry-proxy

An HTTPS Proxy for Docker providing centralized configuration and caching of any registry (quay.io, DockerHub, k8s.gcr.io)
Apache License 2.0
912 stars 170 forks source link

Bring your own certifcates #100

Open sestegra opened 3 years ago

sestegra commented 3 years ago

To use the same root CA on my whole services, I need to pass my own TLS certificates when starting docker-registry-proxy.

sergei-ak commented 3 years ago

Hi! It looks like it is possible: https://github.com/rpardini/docker-registry-proxy/blob/master/create_ca_cert.sh#L32

So, I guess, we can create the configmap with the pregenerated CA and mount it to /ca/ca.crt