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?
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With