Helm Repository Management: Classic and OCI

Compare classic Helm repositories with OCI registries, mirror charts for restricted networks, and verify chart provenance and container image signatures.

published: reading time: 10 min read author: Geek Workbench updated: November 18, 2026
Quick Summary

Classic Helm repositories use an index.yaml catalog and chart archives; OCI registries use OCI manifests and registry commands. This guide shows where ChartMuseum and Harbor fit, how to mirror a fixed chart version, and how to verify chart provenance and the signatures on referenced container images.

Introduction

A Helm repository is a distribution point for packaged charts. The two common formats use different discovery and transport rules: classic repositories publish an index.yaml file and chart archives, while OCI registries store charts as OCI artifacts. The commands and server requirements differ, so first identify which format your clients and registry support.

This guide covers repository operations: publishing, retrieving, mirroring, and verifying charts. For chart structure and templates, see Helm Charts. For release history and rollback behavior, see Helm Versioning and Rollback.

The command examples use the Helm 4.3.1 command references current on 2026-11-18, including the registry login, push, and pull commands. The Helm OCI and provenance topic pages still display a notice that they have not been updated for Helm 4. Check the command reference for your installed Helm version before using flags from a topic page.

Classic repositories and OCI registries

Classic chart repository OCI registry
Discovery An HTTP server publishes index.yaml, which lists chart versions and archive URLs. The registry stores charts as OCI artifacts; clients address a chart by registry, project or namespace, and chart name.
Client workflow helm repo add, helm repo update, helm search repo, and helm pull. helm registry login, helm push, helm pull, and helm install with an oci:// reference.
Typical hosting Static web storage or a classic repository server such as ChartMuseum. An OCI-capable registry such as Harbor, Amazon ECR, Azure Container Registry, or Google Artifact Registry.
Index maintenance A static repository owner publishes a fresh index when chart archives change. A server such as ChartMuseum updates its index as uploads arrive. There is no Helm index.yaml; the registry tracks artifact manifests and tags.

An OCI registry is not a classic Helm repository with a different URL. helm repo add does not configure an OCI registry, and an OCI chart reference does not use helm repo update. Keep the scheme and commands consistent with the repository format.

Choose a host

ChartMuseum for a classic repository

ChartMuseum is a standalone server for classic Helm chart repositories. It accepts chart uploads through its API and can use local or remote storage backends. It remains one option when you need the index.yaml workflow.

Check the upstream release page before adopting or upgrading it. As checked on 2026-11-18, the page lists v0.16.6 as its latest release. That snapshot can change; review recent releases, dependency updates, open issues, and your own support plan rather than assuming a particular support window.

Harbor used to bundle ChartMuseum for classic chart hosting. Its v2.8 release announcement, dated 2023-04-17, says ChartMuseum was removed from Harbor’s UI and backend starting in v2.8. Current Harbor documentation covers OCI Helm charts. If you need a classic index-based repository, deploy a separate server such as ChartMuseum or publish a static repository.

Harbor for OCI charts

Harbor stores OCI Helm charts alongside other OCI artifacts. Create the Harbor project first, assign push and pull permissions, and use a robot account for CI. Harbor’s current docs show the OCI workflow below. A Harbor project’s access controls determine who can read or write; they do not prove who built an artifact or whether it was changed before upload.

Publish and retrieve classic charts

A classic repository is an HTTPS location that serves index.yaml and the chart .tgz files listed in it. If you host a static repository, package the chart and regenerate the index from the archive files that will be published:

helm package ./mychart --destination ./public/charts
helm repo index ./public/charts \
  --url https://charts.example.com/charts

Publish the chart archive and updated index.yaml together. A partial update can leave clients with an index that refers to a missing archive or omits a new version.

For a ChartMuseum server, upload the packaged archive through its API. ChartMuseum updates its repository index as part of the upload:

curl --fail --silent --show-error \
  --user "$CHARTMUSEUM_USER:$CHARTMUSEUM_TOKEN" \
  --form "chart=@public/charts/mychart-1.4.2.tgz" \
  "$CHARTMUSEUM_URL/api/charts"

Store credentials in your CI secret manager. Grant pull access to the clients that need it and reserve upload access for release automation. Use HTTPS; do not put credentials in a public URL.

Clients add and refresh a classic repository, then request an explicit chart version:

helm repo add acme https://charts.example.com/charts
helm repo update acme
helm search repo acme/mychart
helm pull acme/mychart --version 1.4.2

For a private repository, configure the repository credentials through the supported Helm flags or credential helper for your version. Do not pass long-lived secrets as literal command-line arguments in a shared shell or build log.

Publish and retrieve OCI charts with Harbor

Package the chart first, log in to the registry host, and push the archive to the project path. The push destination omits the chart name and version; Helm reads both from the packaged chart metadata.

helm package ./mychart --destination ./dist

printf '%s' "$HARBOR_TOKEN" |
  helm registry login harbor.example.com \
    --username "$HARBOR_USER" \
    --password-stdin

helm push ./dist/mychart-1.4.2.tgz \
  oci://harbor.example.com/platform

Pull or install with the full chart path and a fixed version:

helm pull oci://harbor.example.com/platform/mychart \
  --version 1.4.2

helm install myapp \
  oci://harbor.example.com/platform/mychart \
  --version 1.4.2

Harbor documents these steps in Working with OCI Helm Charts. Create the project before pushing. Proxy-cache projects cannot receive chart pushes.

Mirror charts for restricted networks

A mirror should preserve the upstream chart version and record where the artifact came from. Pull a named version from its source, verify it before copying when provenance is available, then push the same package to the destination registry.

For a classic source and OCI destination:

helm repo add upstream https://charts.vendor.example.com
helm repo update upstream

helm pull upstream/mychart \
  --version 1.4.2 \
  --verify \
  --keyring ./trusted-chart-signers.gpg

helm registry login harbor.example.com \
  --username "$HARBOR_USER" \
  --password-stdin

helm push mychart-1.4.2.tgz \
  oci://harbor.example.com/mirrors

If the source does not publish a provenance file, helm pull --verify fails. Do not silently remove verification from a protected release pipeline. Decide how to review and approve unsigned upstream charts, record the source URL and digest, and apply that policy before the mirror is promoted.

For an air-gapped environment, copy the chart and every referenced image into reachable internal registries. A mirrored chart can still point to an external image host. Preserve the image digest and signature artifacts where the registry and signing system support them, then test a rendered release with network egress disabled.

Verify charts and the images they reference

Repository authentication limits who can access the artifact. It does not establish the artifact’s origin or detect a malicious upload from an account that has write permission. Use signatures and immutable digests, with an allowlist of trusted signers.

Verify chart provenance

Helm’s classic provenance format pairs a signed .prov file with a chart package. The .prov file must be available next to the .tgz in a classic repository. For OCI pushes, Helm uploads a neighboring .prov file as an additional chart-manifest layer.

A release pipeline can sign a package with a protected signing key:

helm package ./mychart \
  --destination ./dist \
  --sign \
  --key "release-signing-key" \
  --keyring ./protected-private-keyring.gpg

Distribute the corresponding public key through a channel that the registry administrator cannot silently change, and verify the exact version before installation:

helm pull oci://harbor.example.com/platform/mychart \
  --version 1.4.2 \
  --verify \
  --keyring ./trusted-chart-signers.gpg

The same --verify workflow applies to classic repositories. Helm checks that the package matches its provenance file and that the signature is trusted by the supplied keyring. See the current Helm package, pull, and verify command references. Helm’s provenance topic page carries a Helm 4 update warning, so confirm compatibility with the Helm release you use.

For OCI, a registry digest identifies exact artifact bytes; it does not say who published them. Where a digest reference is available, prefer it for deployment and keep signature verification as a separate check.

Verify container images separately

A chart signature covers the chart package, not every image that the chart will run. Render the exact chart version with the values used for the deployment, review all image references, and pin production images by digest:

helm template myapp \
  oci://harbor.example.com/platform/mychart \
  --version 1.4.2 \
  --namespace production \
  --values values-production.yaml |
  rg 'image:'

For each image, verify its signature against an expected signer. This key-based example requires an approved public key and an image reference pinned to a digest:

IMAGE='harbor.example.com/platform/api@sha256:REPLACE_WITH_DIGEST'
cosign verify --key ./trusted-image-signers.pub "$IMAGE"

If your publisher uses keyless signing, verify the expected certificate identity and OIDC issuer instead of accepting any valid signature. Sigstore’s verification guide explains the identity options. Harbor can enforce content trust using Cosign or Notation, but enforcement still needs a policy that trusts the expected publisher.

Keep the chart version, chart digest or provenance result, image references, and verification result with the release record. A version tag alone is not a complete supply-chain record.

Operational checks

Symptom Likely cause Check
A classic client cannot find a newly published version The static repository’s index.yaml was not regenerated or published. Fetch the repository URL and confirm the new version appears in index.yaml.
A chart archive returns 404 The index points to a missing file, or the generated archive URL is wrong. Compare the index URL with the server path and download the archive directly.
OCI push fails with a repository or project error The Harbor project does not exist, or the account lacks push permission. Create the project and use a scoped robot account with push permission.
A chart installs but image pull fails in an isolated cluster The chart references an image that was not mirrored, or the image path still points outside the network. Render the chart with production values and verify each image reference against the internal registry.
A signature check fails The signature is absent, the package changed, or the signing key is not trusted. Stop promotion and compare the package, provenance record, and signer key through an independent trusted channel.

Monitor the service you actually operate: repository availability, failed pushes and pulls, storage growth, certificate expiry, and mirror freshness. Metric names vary by server and version, so use the metrics documented for your deployed release rather than copying unverified Prometheus names.

Further reading

Conclusion

Classic repositories and OCI registries solve the same distribution problem through different interfaces. Use an index-based server when clients need index.yaml; use Harbor or another OCI registry when your chart workflow is based on registry artifacts. In either case, access control and storage are only part of the job: verify chart provenance, pin and verify the images the chart references, and keep an auditable record of what was deployed.

Repository checklist

  • Identify whether clients use a classic index.yaml repository or an OCI registry.
  • Use TLS and scoped credentials for uploads and pulls.
  • Publish versioned archives and keep static repository indexes in sync.
  • Mirror the exact chart and image versions required by restricted clusters.
  • Verify chart provenance against a trusted key and verify image signatures against approved identities.
  • Record the chart version, image digests, and verification results.

Category

Related Posts

Developing Helm Charts: Templates, Values, and Testing

Create production-ready Helm charts with Go templates, custom value schemas, and testing using Helm unittest and ct.

#helm #kubernetes #devops

Helm Versioning and Rollback: Safe Recovery

Learn how Helm revisions work, when to roll back, and how to choose a forward fix or data restore when Kubernetes changes affect a database.

#helm #kubernetes #devops

OCI Artifacts: Distributing Container Images and Helm Charts

Package container images, Helm charts, and related artifacts with OCI; check registry support and verify signatures and SBOMs by digest.

#oci #containers #helm