From 9fcb1d9bebca499d16dbf95a65f5e233d7e699a3 Mon Sep 17 00:00:00 2001 From: RehanRaza Date: Wed, 30 Dec 2020 15:01:59 +0100 Subject: [PATCH] Correct the command format for helm3 in install script of nonrtric The 'helm install' command does not work for helm3, the release name must come before the chart name. Change-Id: Iebef8df2d1a20f2af34d89516f7b118228b0b979 Issue-ID: NONRTRIC-371 Signed-off-by: RehanRaza --- nonrtric/bin/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nonrtric/bin/install b/nonrtric/bin/install index dbaff472..80088336 100755 --- a/nonrtric/bin/install +++ b/nonrtric/bin/install @@ -72,7 +72,7 @@ helm dep up $DIR/../helm/$PARENT_CHART HELM_NAME_OPT="" if [ -z $IS_HELM3 ];then HELM_NAME_OPT="--name" -fi +fi -helm install $DIR/../helm/"${PARENT_CHART}" -f $OVERRIDEYAML --namespace "${NONRTRIC_NAMESPACE:-nonrtric}" ${HELM_NAME_OPT} "${RELEASE_PREFIX}" +helm install -f $OVERRIDEYAML --namespace "${NONRTRIC_NAMESPACE:-nonrtric}" ${HELM_NAME_OPT} "${RELEASE_PREFIX}" $DIR/../helm/"${PARENT_CHART}" -- 2.16.6