Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Helm can't find chart

I've published my chart to chartmuseum. And yes, I've ran "helm repo update".

$ helm search chartmuseum/
NAME                        CHART VERSION   APP VERSION DESCRIPTION            
chartmuseum/whoami          1-master                    A Helm chart for whoami
chartmuseum/whoami-master   0.0.1-SNAPSHOT              A Helm chart for whoami
chartmuseum/whoami-release  0.0.1-SNAPSHOT              A Helm chart for whoami

But when I try to find it...

$ helm install chartmuseum/whoami-release
Error: failed to download "chartmuseum/whoami-release" (hint: running `helm repo update` may help)

Anyone got a clue about what I do wrong?

like image 851
user672009 Avatar asked Dec 29 '18 08:12

user672009


People also ask

Where are my helm charts?

The official Helm repo URL is https://kubernetes-charts.storage.googleapis.com . This repo is mainteined on GitHub and it's URL is https://github.com/helm/charts. So the best approach is to clone the official repo github and work on it locally.

Where are helm charts stored Linux?

Under the hood, the helm repo add and helm repo update commands are fetching the index. yaml file and storing them in the $XDG_CACHE_HOME/helm/repository/cache/ directory. This is where the helm search function finds information about charts.

What is the command to install a helm chart?

By absolute URL: helm install mynginx https://example.com/charts/nginx-1.2.3.tgz. By chart reference and repo url: helm install --repo https://example.com/charts/ mynginx nginx.


1 Answers

Helm expects semantic versions in order to use the latest one by not explicitly specifying a version in the install command - https://github.com/helm/chartmuseum/issues/129

As you point out in the comments, it does retrieve if you specify the specific version

like image 116
Ryan Dawson Avatar answered Sep 16 '22 16:09

Ryan Dawson