Hi, I'd like to deploy the docker registry with basic/htpasswd protection.
I'm able to add the relevant env values (see below), but I'm not sure if there's an existing supported way to configure ctlptl to mount a volume containing the htpasswd (to /auth/htpasswd)?
apiVersion: ctlptl.dev/v1alpha1
kind: Registry
name: ctlptl-registry
port: 5000
listenAddress: 127.0.0.1
env:
- REGISTRY_AUTH=htpasswd
- REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd
- REGISTRY_AUTH_HTPASSWD_REALM="Registry Realm"
Hi, I'd like to deploy the docker registry with basic/htpasswd protection.
I'm able to add the relevant
envvalues (see below), but I'm not sure if there's an existing supported way to configure ctlptl to mount a volume containing the htpasswd (to/auth/htpasswd)?