11 lines
324 B
Bash
11 lines
324 B
Bash
#!/bin/bash
|
|
|
|
#Install helm using snap
|
|
apt install -y snapd
|
|
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
|