Created
November 27, 2018 14:56
-
-
Save gjyoung1974/12bb8167e976a2eeefd257d83ae65270 to your computer and use it in GitHub Desktop.
Fix Kubernetes Helm service account
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
#!/bin/bash | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment