'Does helm include a way to unpackage a chart?

If I have a folder called my-helm-chart that has my helm chart, I can run:

helm package my-helm-chart

and it will create a file called my-helm-chart-1.0.0.tgz.

I am wondering if helm has a command to undo this? (I need to modify the chart before deploying.)



Solution 1:[1]

It's a standard tar archive.

tar xf my-helm-chart-1.0.0.tgz to un-tar it and then package it again when you've finished modifying it.

Solution 2:[2]

Use "helm pull" to download a chart from a repository and (optionally) unpack it in local directory https://helm.sh/docs/helm/helm_pull/

For example:

helm pull "bitnami/redis" --untar

Solution 3:[3]

Instead of doing this you can add your repo to your helm with

helm add repo xxxx yyyyy

Then when you edit your chart just use

helm push . xxxx

from the chart directory.

This is how I do it because last minute changes are a thing :) Good day.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 SiHa
Solution 2 Vladimir Kirnishni
Solution 3 Catastrophe