From e02e14aac8d4cbba88e05862e716841ab67eb704 Mon Sep 17 00:00:00 2001 From: Hua Yuen Date: Sat, 14 Nov 2020 00:58:48 +0000 Subject: [PATCH] Log kubectl get tiller output --- scripts/check_and_deploy_helm3.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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."