Course contentsShow
← Cloud and Infrastructure
Lesson 1559 of 2,98931. Helm Package ManagerFree lesson

Chart Repositories and OCI Registries

Host charts in traditional HTTP repositories or modern OCI-compliant container registries.

Chart Repositories and OCI Registries

What you'll learn: How to host and share Helm charts using traditional HTTP repositories or modern OCI-compliant container registries.

The Two Homes for Helm Charts

Once you've created a Helm chart, you need somewhere to store and distribute it. Helm supports two storage paradigms: traditional chart repositories (HTTP-based file servers) and OCI registries (the same container registries that store Docker images).

Traditional Chart Repositories

A classic Helm repository is simply an HTTP server hosting an index.yaml file that catalogs available charts and their versions. Think of it like a library card catalog—clients query the index, then download the chart .tgz package they need.

Example workflow:

# Add a repository
helm repo add bitnami https://charts.bitnami.com/bitnami

# Update the local index cache
helm repo update

# Install from repository
helm install my-nginx bitnami/nginx

Repositories can be hosted anywhere: GitHub Pages, S3 buckets with HTTP access, or dedicated servers like ChartMuseum.

OCI Registries (Modern Approach)

OCI (Open Container Initiative) registries treat Helm charts as artifacts alongside container images. This unifies your artifact storage—charts live in the same registry as your Docker images (Docker Hub, ACR, ECR, Harbor, etc.).

Example workflow:

# Log in to registry
helm registry login myregistry.azurecr.io

# Push chart to OCI registry
helm push mychart-1.0.0.tgz oci://myregistry.azurecr.io/helm

# Install from OCI
helm install myapp oci://myregistry.azurecr.io/helm/mychart --version 1.0.0

OCI registries offer better security integration, built-in versioning, and leverage existing container registry infrastructure.

Choosing Your Approach

Use traditional repositories for public community charts. Use OCI registries for private enterprise charts where you already manage container images—it's simpler to secure one system than two.

Key Takeaway: Helm charts can live in traditional HTTP repositories (simple, widely supported) or OCI registries (modern, unified with container images), giving you flexible options for chart distribution and governance.