X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Ffoundation%2Fscripts%2Fhelm.sh;h=44205ca911ae6ae6a90c72e8c7d3c0e16223ed3e;hb=55fbf4451a30337c7db112433126c07c091dbc07;hp=3f575d2bd77c44e7c2a50e0a89889922f1f378a5;hpb=2fe3d7c689341cc5e25678416c4f035ef3e5c96a;p=iec.git diff --git a/src/foundation/scripts/helm.sh b/src/foundation/scripts/helm.sh index 3f575d2..44205ca 100755 --- a/src/foundation/scripts/helm.sh +++ b/src/foundation/scripts/helm.sh @@ -1,5 +1,10 @@ #!/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 @@ -42,3 +47,4 @@ EOF kubectl create -f "${TILLER_SA_RBAC}" helm init --service-account tiller --tiller-image="jessestuart/tiller:${VERSION}" fi +rm -f "${TILLER_SA_RBAC}"