Created
February 28, 2018 09:29
-
-
Save ipedrazas/f5414ecacc73b679f393b50c7cc056f4 to your computer and use it in GitHub Desktop.
Helm with rbac - god mode
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
# create sa for tiller and add the right role to that sa | |
kubectl create serviceaccount tiller --namespace kube-system | |
kubectl create clusterrolebinding tiller-admin \ | |
--clusterrole=cluster-admin \ | |
--serviceaccount=kube-system:tiller | |
# initialise helm-tiller using that sa | |
helm init --service-account tiller |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment