Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Helm on linux-amd64- wget -O - https://goo.gl/Y7GRN4 | bash
#!/usr/bin/env bash
VERSION=v2.13.1
helm_install(){
wget https://storage.googleapis.com/kubernetes-helm/helm-$VERSION-linux-amd64.tar.gz
tar zxvf helm-$VERSION-linux-amd64.tar.gz
sudo mv linux-amd64/helm /usr/local/bin/
}
helm_setup(){
kubectl -n kube-system create serviceaccount tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account=tiller --upgrade
}
helm_bash(){
source <(helm completion bash)
echo "source <(helm completion bash)" >> ~/.bashrc
}
helm_delete() {
kubectl -n kube-system delete deployment tiller-deploy
kubectl delete clusterrolebinding tiller
kubectl -n kube-system delete serviceaccount tiller
}
helm_install
helm_setup
helm_bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.