Skip to content

Instantly share code, notes, and snippets.

@henkin
Created September 5, 2019 17:19
Show Gist options
  • Save henkin/c023b6584a289a08711bbb6b5016b79d to your computer and use it in GitHub Desktop.
Save henkin/c023b6584a289a08711bbb6b5016b79d to your computer and use it in GitHub Desktop.
Fix helm Tiller service account gcp
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