diff --git a/scripts/check_and_deploy_helm3.sh b/scripts/check_and_deploy_helm3.sh index 900688f..63053ef 100644 --- a/scripts/check_and_deploy_helm3.sh +++ b/scripts/check_and_deploy_helm3.sh @@ -53,9 +53,8 @@ if [ ! -z "${KUBERNETES_MASTER_ADDRESS}" ]; then kubectl config use-context custom-context fi -set +e -TILLER_INSTALLED=$(kubectl get deployment tiller-deploy -n kube-system) -set -e +TILLER_INSTALLED="$(kubectl get deployment tiller-deploy -n kube-system --ignore-not-found=true)" +echo "$TILLER_INSTALLED" if [[ ${TILLER_INSTALLED} == *tiller-deploy* ]]; then echo "Tiller is installed. Please uninstall Tiller before continuing with Helm 3 deploy."