Skip to main content

helm-quickstart

Last updated on

Prerequisites

  • Ensure you have Helm CLI installed and configured on your local machine.
  • Ensure you have access to a Harness account with the appropriate permissions to create registries and connectors.

Create a Helm Artifact Registry

private helm registry

This registry will serve as your private Helm registry within Harness.


Configure an Upstream Proxy (Optional)

An upstream proxy allows your registry to fetch Helm packages from external sources if they are not available locally.

Create an upstream proxy

Configure the upstream proxy in your registry

upstream proxy caching

If a Helm package isn’t found in your Harness registry, the upstream proxy fetches it from an external registry like the Helm repository, reducing duplication and improving package resolution.


Push & Pull Helm packages

Authenticate the Helm CLI

  1. In your Harness Helm Artifact Registry, click Setup Client.
  2. Copy the provided helm install command.
  3. Execute the command in your terminal to authenticate your Helm CLI with the Harness registry. 

Push a Helm package

  • Build and publish your package:
helm push <CHART_TGZ_FILE> oci://pkg.harness.io/<account-id>/<helm-registry-name>/helm

Pull a Helm package

  • Install your package using helm:
helm pull oci://pkg.harness.io/<account-id>/<helm-registry-name>/<IMAGE_NAME> --version <TAG>