From: RehanRaza Date: Wed, 30 Dec 2020 14:01:59 +0000 (+0100) Subject: Correct the command format for helm3 in install script of nonrtric X-Git-Tag: f-release~66^2 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fdep.git;a=commitdiff_plain;h=9fcb1d9bebca499d16dbf95a65f5e233d7e699a3 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 --- 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}"