Skip to content

Instantly share code, notes, and snippets.

@jessehu
Created July 9, 2019 02: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 jessehu/903cf39200c1db965f1b0c28e60f9efb to your computer and use it in GitHub Desktop.
Save jessehu/903cf39200c1db965f1b0c28e60f9efb to your computer and use it in GitHub Desktop.
Helm Tiller RBAC setup for K8s v1.6+
https://gist.github.com/mgoodness/bd887830cd5d483446cc4cd3cb7db09d
Helm RBAC setup for K8s v1.6+
```
kubectl -n kube-system create sa tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller
```
https://github.com/fnproject/fn-helm/issues/21
Error: configmaps is forbidden: User "system:serviceaccount:kube-system:default" cannot list resource "configmaps" in API group "" in the namespace "kube-system"
```
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