Working with OCI Helm Charts
With the release of Helm 3.8.0, Helm is able to store and work with charts in container registries, as an alternative to Helm repositories. This feature, which used to be an experimental feature, is now generally available.
Please see Helm documentation on storing charts in OCI.
Pulling Helm Charts
If the project that the helm chart belongs to is private, you must sign in first:
helm registry login <harbor_address>
You can now pull a chart:
helm pull oci://<harbor_address>/<project>/<chart_name> --version <version>
e.g.
helm pull oci://demo.goharbor.io/oci/demo --version 0.1.0
Pushing OCI Helm charts
Before you can push an OCI Helm chart to Harbor, you must create a project in the Harbor interface or use already existing one. For information about how to create a project, see Create Projects.
First, log in from Docker client:
helm registry login <harbor_address>
Push the OCI Helm Chart:
helm push <chart_name_and_version>.tgz oci://<harbor_address>/<project>
e.g.
helm push example-0.1.0.tgz oci://demo.goharbor.io/oci
Installing OCI Helm Chart
If project is private you need to login first as shown above
helm install <release_name> oci://<harbor_address>/<project>/<chart_name> --version <version>
e.g.
helm install MyRelease oci://demo.goharbor.io/oci/demo --version 0.1.0
Creating and packaging the OCI Chart
For full reference please check official Helm documentation
Create the chart
helm create oci-chart-example
Edit and make it usable
Use your preferred method to edit the newly created chart.
Package
helm package oci-chart-example
Push OCI Chart to Harbor Registry
helm push oci-chart-example-0.1.0.tgz oci://demo.goharbor.io/oci-charts
See you images in the Harbor Interface
You can see your OCI Helm Charts in your Harbor Project as any other artifact
You can see all tags(versions)
Work with OCI Helm Charts from the UI
On this page
Contributing