Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created July 2, 2020 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/813e4f121786e6ab80e31cea328c25e8 to your computer and use it in GitHub Desktop.
Save velotiotech/813e4f121786e6ab80e31cea328c25e8 to your computer and use it in GitHub Desktop.
$ kubectl create clusterrolebinding user-admin-binding \ --clusterrole=cluster-admin --user=$(gcloud config get-value account)
$ kubectl create serviceaccount tiller --namespace kube-system
$ kubectl create clusterrolebinding tiller-admin-binding \ --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment