Skip to content

Instantly share code, notes, and snippets.

Created Apr 14, 2020
What would you like to do?
User "system:serviceaccount:kube-system:default" cannot get resource "namespaces" in API group "" in the namespace "default"

see: helm/helm#3130

helm init --upgrade --service-account tiller


kubectl --namespace kube-system create serviceaccount tiller

kubectl create clusterrolebinding tiller-cluster-rule \
 --clusterrole=cluster-admin --serviceaccount=kube-system:tiller

kubectl --namespace kube-system patch deploy 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