Repository navigation
Description
Helm charts can have dependencies to other charts.
The root chart and those other charts may come from OCI "repositories" (registries) which the charts have to reference directly currently.
However in the datacenters we have to operate and during the development of our helm charts (dev, staging and production environments) the repositories where those charts are stored change. With the legacy helm repositories we could use repository aliases to avoid global references to other charts.
OCI charts can't currently use repository aliases to point to other helm charts in their dependencies.
Please add alias support for OCI dependencies.
Explaining this using bitnami as an example:
bitnami recommends to use
helm repo add bitnami https://charts.bitnami.com/bitnamiUsing bitnamis Drupal chart as an example: https://github.com/bitnami/charts/blob/041766798ed98af83465cab490bb63b73720a79a/bitnami/drupal/Chart.yaml
...
dependencies:
- condition: mariadb.enabled
name: mariadb
repository: https://charts.bitnami.com/bitnami
version: 9.x.x
- name: common
repository: https://charts.bitnami.com/bitnami
tags:
- bitnami-common
version: 1.x.x
...bitnami would need to patch every Chart to support co-existence of traditional and OCI charts... or use repo aliases:
# bitnais Drupal helm chart
...
dependencies:
- condition: mariadb.enabled
name: mariadb
repository: alias:bitnami
version: 9.x.x
- name: common
repository: alias:bitnami
tags:
- bitnami-common
version: 1.x.x
...with that change, the helm chart can be used in both tar.gz and OCI formats with dependencies that come from the appropriate repository. Alias support for OCI registries would also make migration to OCI easier.
AND most importantly for our usecase: The repository may be different in every datacenter: it may be hosted inside said datacenter without access to the internet (yes, this is a thing - it's non negotiable actually)
Activity
mattfarina commentedon Aug 10, 2021
I appreciate this issue and I've talked with others about it in the past.
Repositories are easy to alias. When they are added you know the URL and you get an index. OCI registries are a little different. You can't get anything like an index file and there is no ability to search them. The way we would need to handle those are different.
At the same time, it could be nice to be able to override something like
https://charts.bitnami.com/bitnamiwithout the upstream author making a change or the need to patch each chart. I wonder if there is an opportunity for an overrides file.In any case, I think the change would need to be written up as a Helm Improvement Proposal.
cobexer commentedon Aug 13, 2021
I don't consider this a feature request actually, I guess I wrote the issue to positively. This is a regression in functionality! (and yes I am aware that OCI is still experimental)
I disagree about the complexity tough: the repository format/api is completely unrelated to the complexity of implementing alias functionality.
I agree that adding the ability to override the repository URL as you suggest would need a HIP. That would be an interesting alternative to the alias functionality! I think that the alias functionality is sufficient for my usecase.
Care to write a Helm Improvement Proposal for your idea?
github-actions commentedon Nov 12, 2021
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.
RomanBats commentedon Nov 15, 2022
The issue is closed as completed, but I haven't found this to be implemented. Am I missing something?
I have a similar issue. Dev, Stage, and Prod environments use different registries and dev cannot access prod (and visa versa) so previously I used an alias to reference a base chart from the repository added to my environment. But with OCI I would need to build and push a chart 3 times with a different target OCI Registry (for each env), which is not an option.
This is the only thing preventing me from migrating to OCI.
sarathsprakash commentedon Nov 23, 2023
This has to be reopened , something essential!
gjenkins8 commentedon Dec 6, 2023
@sarathsprakash -- would you be willing to contribute a HIP here? I can reopen if so. Otherwise we close stale issues as completed, due to lack of community interest in implementing/actioning.
sarathsprakash commentedon Dec 11, 2023
@gjenkins8 , The HIP already exists helm/community#259 , However the issue is marked completed
GCHQDeveloper926 commentedon Jan 16, 2024
This is blocking my ability to use aliases and deploy across multiple environments using aliases - is it possible to reopen this issue please or provide guidance if it has been implemented?
sarathsprakash commentedon Apr 10, 2024
This has to be reopened
pupseba commentedon Apr 11, 2024
There is PR that seems to do the job: #11771
This issue seems to be closed but with no fix, while the proposal done to implement the fix is still being ignored.
Is this feature request/improvement being disregarded for a particular reason? We are moving our charts to an OCI repository and this limitation had put our migration into a stop.
sarathsprakash commentedon Jun 6, 2024
@gjenkins8 This is necessary feature. HIP and code changes are waiting to be merged and released, can this be prioritized for upcoming release
sarathsprakash commentedon Jul 7, 2024
It would be a great relief for lot of people for this feature to be released considering the PR already exist from more than an year to be merged @gjenkins8
4 remaining items
Robsmon commentedon Nov 8, 2024
Is there any update for the feature?
sjadema-duo commentedon Jan 9, 2025
We're waiting on an implementation of this feature as well. Any updates?
github-actions commentedon Aug 26, 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.
Ghabi-ISC commentedon Aug 26, 2025
More waiting for a solution! This feature is very important for many people!
cobexer commentedon Sep 21, 2025
I rebased #11771 on top of main for inclusion in v4 PTAL
github-actions commentedon Dec 21, 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
Looking forward to this
TerryHowe commentedon Jan 18, 2026
I think helm/community#391 would be a better way to handling mirroring/aliases.
github-actions commentedon Apr 19, 2026
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.