Publish Helm Charts
Suppose you have a Helm chart and want to publish it to the newly created container registry using the Helm command-line tool. Note that Helm 3.8 or later is required.
Publish charts using Helm command-line tool
Make sure OCI support is enabled on your machine. To enable the support, set the
HELM_EXPERIMENTAL_OCI
environment variable by running the command:export HELM_EXPERIMENTAL_OCI=1setx HELM_EXPERIMENTAL_OCI "1" /M(run as administrator)
Log in to the container registry:
helm registry login mycompany.registry.jetbrains.spaceheremycompany.registry.jetbrains.space
is the registry URL(
mycompany
is the name of your company in Space). If you are not sure about the URL, you can copy the URL of a particular container registry on the Packages page.
When asked for credentials, specify either your Space username and password (we recommend that you use a permanent token instead) or a client ID and a client secret of a service account.
If your chart is not yet created, create it with
helm create mychart
. Modify your chart as needed.Save the chart directory:
helm package ./mycharthere
./mychart
is a path to the chart directory.Publish the chart to the registry:
helm push myChart:0.1.0 mycompany.registry.jetbrains.space/p/projectkey/my-helm-charts/here0.1.0
is the chart version specified inChart.yaml
.