Skip to content

Instantly share code, notes, and snippets.

@alexproca
Created January 30, 2019 09:07
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 alexproca/1d84ae7b9119e7aa3ee5cf4cf333b832 to your computer and use it in GitHub Desktop.
Save alexproca/1d84ae7b9119e7aa3ee5cf4cf333b832 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
kubectl create clusterrolebinding --clusterrole=cluster-admin --serviceaccount=default:default concourse-admin
helm init --service-account=tiller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment