Docker for windows kubernetes helm - add public repo and get mailhog

11/22/2019

I am using Windows 10 with docker for windows. I have acitve kubernetes. I've downloaded helm from https://github.com/helm/helm/releases and added files to Windows PATH.

Now i want to execute:

helm install stable/mailhog --generate-name

but i get

Error: failed to download "stable/mailhog" (hint: running 'helm repo update' may help

I am not sure how to add public repo for it. I tried adding it with:

helm repo add mailhog https://kubernetes-charts-incubator.storage.googleapis.com/
"mailhog" has been added to your repositories
helm repo update

but the output from helm install stable/mailhog --generate-name gives me still the same error.

How can i get stable/mailhog this way?

-- tryingHard
docker-for-windows
kubernetes
kubernetes-helm
windows-10

1 Answer

11/22/2019

Using https://kubernetes-charts.storage.googleapis.com as the helm repo works for me:

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

$ helm repo list
NAME    URL                                             
stable  https://kubernetes-charts.storage.googleapis.com

helm install stable/mailhog --generate-name
-- Vikram Hosakote
Source: StackOverflow