Repositories and OCI Distribution
Classic HTTP chart repositories vs modern OCI registries (ECR, GHCR, ACR, GAR, Harbor). Pushing, pulling, and installing charts as OCI artifacts.
Overview
From chart repositories to OCI registries
Helm has two ways to hand a chart to the people who install it. The older way is the classic chart repository: a custom format of an index file and chart archives, served over plain HTTP. The newer way stores charts in an OCI registry, the same kind of registry that already holds your container images. OCI stands for Open Container Initiative, the project that defines the image and registry formats. Helm's OCI support started as an experimental feature in Helm 3.0 and became generally available (GA) in Helm 3.8. Today it is the recommended way to distribute Helm charts.
Both paths begin the same way. You run helm package on a chart folder such as ./mychart and get an archive such as mychart-1.4.2.tgz. Then the paths split, and both end in a release in the cluster.
- The classic path: you publish the archive to a classic repository, which serves index.yaml and the .tgz files over HTTP. A user runs helm repo add, then installs by a short name such as helm install bitnami/chart.
- The OCI path: you push the archive to an OCI registry such as ECR, GHCR, ACR, GAR or Harbor. A user installs straight from the reference with helm install oci://registry/chart.
> [!IMPORTANT] OCI is the recommended path for new distribution: your existing container registry becomes the chart repository.
Key concepts
- OCI (Open Container Initiative) registry
- helm registry login
- oci:// scheme
- Digest-based installation
- Provenance file (.prov)
Interview questions
- Compare classic Helm chart repositories with OCI-based distribution.
- How do you set up a chart distribution pipeline for an internal platform team?
- How does OCI digest-based installation improve supply chain security?
- What are the key commands for working with OCI-based Helm charts?
Sign up free to read the full topic
More DevOps topics
- Puppet, Chef & Salt
- Python for Build Automation
- Qt Deployment and Packaging
- Qt for Build Engineers
- Release Engineering
- Release Manifests & Last-Known-Good
- Repository Structure and Multi-Tenancy
- Running AI/ML Workloads on Kubernetes
- Runtime Security
- Sanitizers and Memory Debugging
- SAST, DAST, SCA & IAST
- Secrets Management in GitOps
Start free on Cariara · Coding problems · System design studio