Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kevsersrca/17c9cc3430a8614f06536221d1581c56 to your computer and use it in GitHub Desktop.
Save kevsersrca/17c9cc3430a8614f06536221d1581c56 to your computer and use it in GitHub Desktop.
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