From 931c80edea0301a068b93a6782a8000a619dcb79 Mon Sep 17 00:00:00 2001 From: James Meickle Date: Tue, 15 May 2018 12:43:28 -0400 Subject: [PATCH] Don't request Tiller version in installer This makes the script hang for quite a while if it can't connect to Tiller to retrieve this information that isn't being used anyways. --- scripts/get | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get b/scripts/get index 943ca4158..af0960abf 100755 --- a/scripts/get +++ b/scripts/get @@ -92,7 +92,7 @@ checkDesiredVersion() { # if it needs to be changed. checkHelmInstalledVersion() { if [[ -f "${HELM_INSTALL_DIR}/${PROJECT_NAME}" ]]; then - local version=$(helm version | grep '^Client' | cut -d'"' -f2) + local version=$(helm version -c | grep '^Client' | cut -d'"' -f2) if [[ "$version" == "$TAG" ]]; then echo "Helm ${version} is already ${DESIRED_VERSION:-latest}" return 0