Helm: migrate chart dependencies from HTTPS to OCI
• 63 words • 1 min • updated
⚠️ This post is over one year old. It may no longer be up to date or relevant. Opinions may have changed.
I got aware of this due to Bitnami’s blog post.
In Chart.yaml, instead of depending on:
- https://charts.bitnami.com/bitnami/airflow-18.3.2.tgzInstead, depend on:
- oci://registry-1.docker.io/bitnamicharts/airflow:18.3.2The switch is transparent, it works out-of-the-box.
However there’s one caveat: You cannot helm repo add oci://registry-1.docker.io/bitnamicharts. That only works for https://
registries.
The workaround is to helm pull oci://[...] --version {version} and/or to
browse available tags/versions via docker hub.