Issue with --registry-mirror
Path Support in Kaniko and Harbor Registry Proxy
#2471
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
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 harborThanks
The text was updated successfully, but these errors were encountered: