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

Issue with --registry-mirror Path Support in Kaniko and Harbor Registry Proxy #2471

Closed
allen0099 opened this issue Apr 14, 2023 · 6 comments · Fixed by #3051
Closed

Issue with --registry-mirror Path Support in Kaniko and Harbor Registry Proxy #2471

allen0099 opened this issue Apr 14, 2023 · 6 comments · Fixed by #3051
Labels
feat/registry-mirror gitlab issue/proxy kind/bug Something isn't working kind/feature-request kind/friction needs-discussion Items which need more discussion before commitment priority/p2 High impact feature/bug. Will get a lot of users happy registry/harbor

Comments

@allen0099
Copy link

allen0099 commented Apr 14, 2023

Hi Developers,

I am writing to bring to your attention an issue with --registry-mirror in Kaniko that seems to be related to path support. According to PR #1707, this feature should be supported, but it was subsequently reverted in PR #1794.

When using Harbor as a registry proxy, it is necessary to include a prefix to access the proxy cache. However, as seen in the discussions on issue #1794 (comment) and issue #1618 (comment), this appears to create a problem for Kaniko with --registry-mirror.

I am curious to know whether the support for --registry-mirror path support will be reinstated in the future or if it has been discontinued altogether.

Edit:
The error is
error building image: registries must be valid RFC 3986 URI authorities: harbor.example.com/dockerhub
where dockerhub is a proxy cache in harbor

Thanks

@mlec1
Copy link

mlec1 commented Jun 15, 2023

I would really appreciate this feature too. That would be useful when using the GitLab Dependency Proxy @aaron-prindle

@aaron-prindle aaron-prindle added gitlab needs-discussion Items which need more discussion before commitment priority/p2 High impact feature/bug. Will get a lot of users happy feat/registry-mirror registry/harbor kind/feature-request kind/bug Something isn't working issue/proxy kind/friction labels Jun 25, 2023
@patsevanton
Copy link

Any news ?

@mschneider82
Copy link
Contributor

also need this feature, sadly that the feature PR got revered and not fixed :-(

@mschneider82
Copy link
Contributor

please also add label registry/jfrog i have this issue using artifactory with /path

@gawsoftpl
Copy link

Still dependency proxy for harbor and gitlab doesnt work.

https://example.gitlab.myendpoint.com/dependencyproxy
https://example.harbor.myendpoint.com/dockerhub-proxy

@prima101112
Copy link
Contributor

add this issue also and created PR #3046 hopefully it will help us cause i have the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat/registry-mirror gitlab issue/proxy kind/bug Something isn't working kind/feature-request kind/friction needs-discussion Items which need more discussion before commitment priority/p2 High impact feature/bug. Will get a lot of users happy registry/harbor
Projects
None yet
7 participants