Created
July 15, 2017 06:43
-
-
Save tolleiv/2be55752c59e288299f7e9ad5f52ef3b to your computer and use it in GitHub Desktop.
Have a service account for helm/tiller only
This file contains hidden or 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
kubectl create serviceaccount --namespace kube-system tiller | |
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller | |
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}' | |
helm init --service-account tiller --upgrade | |
helm list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment