Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Helm V3 - Cannot find the official repo

I have been trying to install nginx ingress using helm version 3

helm install my-ingress stable/nginx-ingress 

But Helm doesn't seem to be able to find it's official stable repo. It gives the message:

Error: failed to download "stable/nginx-ingress" (hint: running helm repo update may help)


I tried helm repo update. But it doesn't help.

I tried listing the repos helm repo list but it is empty.


I tried to add the stable repo:

helm repo add stable https://github.com/helm/charts/tree/master/stable 

But it fails with:

Error: looks like "https://github.com/helm/charts/tree/master/stable" is not a valid chart repository or cannot be reached: failed to fetch https://github.com/helm/charts/tree/master/stable/index.yaml : 404 Not Found

like image 882
Charlie Avatar asked Sep 17 '19 08:09

Charlie


2 Answers

The stable repository is hosted on https://kubernetes-charts.storage.googleapis.com/. So, try the following:

helm repo add stable https://kubernetes-charts.storage.googleapis.com/ 

EDIT 2020-11-16: the above repository seems to have been deprecated. The following should now work instead:

helm repo add stable https://charts.helm.sh/stable 
like image 97
weibeld Avatar answered Oct 22 '22 13:10

weibeld


Be aware that Helm v3 does not have the use of Tiller.

1. Install Helm v3:

curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 > get_helm.sh chmod 700 get_helm.sh ./get_helm.sh 

2. Install Ingress-Nginx:

helm repo add stable https://kubernetes-charts.storage.googleapis.com/ helm install my-nginx stable/nginx-ingress --set rbac.create=true  
like image 32
Daniel Avatar answered Oct 22 '22 14:10

Daniel