Skip to content

Instantly share code, notes, and snippets.

@mgoodness
Last active October 30, 2021 17:04
Show Gist options
  • 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
@so0k
Copy link

so0k commented Aug 16, 2017

thanks!

@Malet
Copy link

Malet commented Sep 10, 2017

👍 working

@shadycuz
Copy link

Worked for me kubernetes 1.8.1

@harshal-shah
Copy link

Worked with 1.8.2 as well 👍 Thanks !

@pslijkhuis
Copy link

Thanks!

@tmc
Copy link

tmc commented Nov 1, 2017

A discussion of the security implications here would be useful.

@julianxhokaxhiu
Copy link

Tested on 1.8.3. Works too! Thanks man

@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