Skip to content

Instantly share code, notes, and snippets.

@mgoodness
Last active October 30, 2021 17:04
Show Gist options
  • Star 69 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save mgoodness/bd887830cd5d483446cc4cd3cb7db09d to your computer and use it in GitHub Desktop.
Save mgoodness/bd887830cd5d483446cc4cd3cb7db09d to your computer and use it in GitHub Desktop.
Helm RBAC setup for K8s v1.6+ (tested on minikube)
kubectl -n kube-system create sa tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller
@yuvipanda
Copy link

@tmc I think with this, anyone who has enough access to talk to tiller (which requires you be able to use the k8s API to port forward or exec I think) has root on the cluster.

Copy link

ghost commented Dec 6, 2017

Thanks. had been stuck for hours...

@jengo
Copy link

jengo commented Jan 18, 2018

Awesome thanks!

@ChinaShrimp
Copy link

Thanks a lot, it saves me a lot of hours....

@erika-dike
Copy link

Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment