Open
Description
Hello,
We would like to use this tool to funnel access to public repositories over our own proxy registry (which is a Harbor instance). The purpose of our proxy registry is to handle authentication towards Dockerhub etc. and to cache artifacts to be resilient against downtimes or artifact removal of registries outside our control.
harbor-container-webhook looks to be exactly we need, but we struggle to set up the authentication against our proxy registry.
Challenges:
- We don't want/need
checkUpstream: true
because the access to the upstream repo is often restricted by rate limit, auth, paywall or firewall. - We struggle to have
authSecretName
in the correct format. Providing a working example in the documentation would be helpful. - We set
authSecretName
but it seems to be only in use withcheckUpstream: true
(see code). Is this correct? Why? Can it be changed? - We are confused if
authSecretName
is used for the matched repo (upstream) or the replaced repo (own proxy).
It would be helpful to get some guidance on this.