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

[Question] additionalMirrorRegistry Authentication for multiple docker domains #646

Open
geigervlad opened this issue Nov 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@geigervlad
Copy link

Describe the problem to be solved

We use the combination "k8s" + "spegel" + "nexus" -> as pull-through-cache. Nexus is secured with basic-auth and the authentication has been added through k8s "imagePullSecrets".

Within the k8s Secret we defined the authentication for the registry name "nexus.ourdomain".

The problem is that the authentication is not getting used due to different container registry names.
For example: if pulling an image with name "kubectl" credentials are being search for "docker.io/kubectl" and not "nexus.ourdomain/kubectl" but the additional registry mirror(nexus.ourdomain) is being used which then gets rejected.

Proposed solution to the problem

The only workaround I found was to add the nexus auth data to the domain "docker.io", which in itself is definitely no solution.

Any help is appreciated.

@geigervlad geigervlad added the enhancement New feature or request label Nov 24, 2024
@geigervlad geigervlad changed the title [Question] [Question] additionalMirrorRegistry Authentication for multiple docker domains Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant