4 if [ "$(uname -m)" == 'aarch64' ]; then
10 URI_ROOT='https://storage.googleapis.com/kubernetes-helm'
11 TGZ_NAME="helm-${VERSION}-${FLAVOR}.tar.gz"
13 if [ ! -e /usr/bin/helm ] || [ ! -e /usr/bin/tiller ]; then
14 wget -O "/tmp/${TGZ_NAME}" "${URI_ROOT}/${TGZ_NAME}"
15 sudo tar xpPf "/tmp/${TGZ_NAME}" --overwrite \
16 --transform "s|${FLAVOR}|/usr/bin|" "${FLAVOR}/"{helm,tiller}
17 rm -f "/tmp/${TGZ_NAME}"