Created
July 31, 2019 12:46
-
-
Save kevsersrca/17c9cc3430a8614f06536221d1581c56 to your computer and use it in GitHub Desktop.
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
helmins() { | |
kubectl -n kube-system create serviceaccount tiller | |
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller | |
helm init --service-account=tiller | |
} | |
helmdel() { | |
kubectl -n kube-system delete deployment tiller-deploy | |
kubectl delete clusterrolebinding tiller | |
kubectl -n kube-system delete serviceaccount tiller | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment