You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Configure helm to use a oci registry mirror/proxy without setting HTTP(S)_PROXY #13615
I operate a CI environment that runs many different kinds of jobs, some of which run helm and fetch OCI charts from dockerhub, which eats into the rate limit of dockerhub. For docker/podman I can set a mirror in the configuration files that I am certain the CI jobs don't touch. For helm there doesn't seem to be such an option.
pushing the burden of specifying a proxy/mirror onto the CI users is the best option that I can think of, but there will always be some jobs that don't use it and coordinating this with the users is not always easy
setting HTTP_PROXY or the other variants would affect all programs in the ci jobs, which is not ideal either
that would be the best way to achieve what i am trying to do. in my usecase i would need to have some way to configure the mappings that doesn't interfere with "normal helm usage", i.e. by settings environment variables (HELM_REGISTRY_DOCKER_IO=<mapping-options>) or a system-wide config that can be mounted read-only into the CI job container (/etc/helm/repositories.yaml).
I am thinking the only solution to this issue so far is to move away from Bitnami helm charts.
i can suggest that to the users of the CI system. but it only is a suggestion to the users, and given how none of us ever only eat the suggested serving size of chips, sweets, etc., you can guess how strict the users will follow that suggestion.
it definitely is the best solution there currently is, but it would require changes from multiple teams in multiple repositories, which would also need to find a way to use the original registry on their laptops if we decide to host the mirror registry internally.
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
Activity
gjenkins8 commentedon Feb 2, 2025
We have had an outstanding HIP to support registry aliases for a long time. Lack of maintainer time has meant this has languished.
But I do think supporting an existing standard would be good, like e.g.
https://github.com/containers/image/blob/main/docs/containers-registries.conf.5.md#remapping-and-mirroring-registries
felipecrs commentedon Feb 6, 2025
I am thinking the only solution to this issue so far is to move away from Bitnami helm charts.
Like https://artifacthub.io/packages/helm/groundhog2k/postgres instead of https://artifacthub.io/packages/helm/bitnami/postgresql.
felipecrs commentedon Feb 6, 2025
Actually, my solution was to change from:
To:
deniswassmann-alephalpha commentedon Feb 14, 2025
that would be the best way to achieve what i am trying to do. in my usecase i would need to have some way to configure the mappings that doesn't interfere with "normal helm usage", i.e. by settings environment variables (
HELM_REGISTRY_DOCKER_IO=<mapping-options>) or a system-wide config that can be mounted read-only into the CI job container (/etc/helm/repositories.yaml).i can suggest that to the users of the CI system. but it only is a suggestion to the users, and given how none of us ever only eat the suggested serving size of chips, sweets, etc., you can guess how strict the users will follow that suggestion.
it definitely is the best solution there currently is, but it would require changes from multiple teams in multiple repositories, which would also need to find a way to use the original registry on their laptops if we decide to host the mirror registry internally.
grigoni commentedon Feb 24, 2025
is this related to #10013 ?
scottrigby commentedon Mar 22, 2025
Follow helm/community#391
github-actions commentedon Aug 30, 2025
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
grigoni commentedon Jan 13, 2026
Please keep it open
TerryHowe commentedon Jan 17, 2026
This would be covered by registries.conf support #11286