Created
July 9, 2019 02:37
-
-
Save jessehu/903cf39200c1db965f1b0c28e60f9efb to your computer and use it in GitHub Desktop.
Helm Tiller RBAC setup for K8s v1.6+
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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