#!/bin/bash -ex
+if [ -f "$HOME/.bashrc" ]; then
+ # shellcheck source=/dev/null
+ source "$HOME/.bashrc"
+fi
+
VERSION='v2.12.3'
TILLER_SA_RBAC=~/tiller-rbac.yaml
if [ "$(uname -m)" == 'aarch64' ]; then
kubectl create -f "${TILLER_SA_RBAC}"
helm init --service-account tiller --tiller-image="jessestuart/tiller:${VERSION}"
fi
+rm -f "${TILLER_SA_RBAC}"