Skip to content

Instantly share code, notes, and snippets.

@chandankumar4
Created July 26, 2019 11:06
Show Gist options
  • Save chandankumar4/d27053f64cd97193c5d862e8da85eeeb to your computer and use it in GitHub Desktop.
Save chandankumar4/d27053f64cd97193c5d862e8da85eeeb to your computer and use it in GitHub Desktop.
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