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
|
2020-02-18 21:26:16 +01:00
|
|
|
snap install helm --channel=2.16/stable --classic
|
2019-10-02 18:47:20 +02:00
|
|
|
|
|
|
|
#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
|