Skip to content

Instantly share code, notes, and snippets.

@jonlambert
Created August 22, 2019 10:29
Show Gist options
  • Save jonlambert/8b5bcc8d9b4126a691af87029c3952a8 to your computer and use it in GitHub Desktop.
Save jonlambert/8b5bcc8d9b4126a691af87029c3952a8 to your computer and use it in GitHub Desktop.
Fix helm installation error

Fix for the following error:

$ helm install stable/nginx-ingress
Error: no available release name found

Run this command:

kubectl create serviceaccount --namespace kube-system tiller && \
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller && \
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment