blob: a3681d033ab391a94f6525d5c58234563cb13d11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
curl_status=$(curl -w '%{http_code}\n' https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get -o get_helm.sh)
echo $curl_status
if [ ${curl_status} != 200 ]; then
echo "[ERROR] Download get_helm failed - $curl_status"
exit -1
fi
chmod 700 get_helm.sh
echo "[INFO] Running get helm"
./get_helm.sh --version v2.7.2
if [ $? != 0 ]; then
echo "[ERROR] failed to run get_helm"
fi
|