2019-10-02 18:47:20 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#Install helm using snap
|
2019-10-29 11:16:37 +01:00
|
|
|
apt install -y snapd
|
2019-10-02 18:47:20 +02:00
|
|
|
snap install helm --classic
|
|
|
|
|
|
|
|
#Init helm with an admin tiller pod.
|
|
|
|
kubectl create serviceaccount tiller -n kube-system
|
|
|
|
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount kube-system:tiller
|
|
|
|
helm init --wait --service-account tiller
|