Enabling helm3 & kubernetes 1.18 for RIC
. Resolving a helm related error message in Jenkins build log
. Keeping helm2 and k8 1.16 as default while allowing the teams to still use helm3 & k1.18
Issue-Id: RIC-678
Signed-off-by: Alok Bhatt <alok_bh@hcl.com>
Change-Id: I77c5482352c038ce20f13ccfb785ba75c1434046
diff --git a/bin/prepare-common-templates b/bin/prepare-common-templates
index 255c32d..bfdd3d2 100755
--- a/bin/prepare-common-templates
+++ b/bin/prepare-common-templates
@@ -20,7 +20,7 @@
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
#Check for helm3
-IS_HELM3=$(helm version --short|grep -e "^v3")
+IS_HELM3=$(helm version -c --short|grep -e "^v3")
# Start Helm local repo if there isn't one
HELM_REPO_PID=$(ps -x | grep "helm serve" | grep -v "grep" | awk '{print $1}')