Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registry support for htpasswd #288

Open
iainsproat opened this issue Apr 28, 2023 · 0 comments
Open

Registry support for htpasswd #288

iainsproat opened this issue Apr 28, 2023 · 0 comments

Comments

@iainsproat
Copy link

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant