X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-aux%2F80-Auxiliary-Functions%2Fbin%2Finstall;h=df15d9bec9345e7b5764e5f70b47b2b785551598;hb=563da71692a22c4ad04089f756fcebb86944e787;hp=c44cfbb46e19fa5b1ca7c6d8461df0aa0c444c46;hpb=cca6ad5be1ba8679874c24a5b1c628055cd1eac8;p=it%2Fdep.git diff --git a/ric-aux/80-Auxiliary-Functions/bin/install b/ric-aux/80-Auxiliary-Functions/bin/install index c44cfbb4..df15d9be 100755 --- a/ric-aux/80-Auxiliary-Functions/bin/install +++ b/ric-aux/80-Auxiliary-Functions/bin/install @@ -36,7 +36,7 @@ else NAMESPACE=$RICAUX_NAMESPACE fi -RICAUX_COMPONENTS="dashboard ves message-router" +RICAUX_COMPONENTS="dashboard ves message-router kong-aux" echo "Deploying RIC AUX components [$RICAUX_COMPONENTS]" echo "Platform Namespace: $NAMESPACE" @@ -45,11 +45,23 @@ echo "Helm Release Name: $RELEASE_NAME" COMMON_CHART_VERSION=$(cat $DIR/../../../ric-common/Common-Template/helm/ric-common/Chart.yaml | grep version | awk '{print $2}') +helm repo remove local + helm package -d /tmp $DIR/../../../ric-common/Common-Template/helm/ric-common/ for component in $RICAUX_COMPONENTS; do echo "Preparing chart for comonent $component" + + if [ $component = "kong-aux" ]; then + mkdir -p $DIR/../helm/$component/charts + helm dep up $DIR/../helm/$component + helm install --namespace ricaux --name "${RELEASE_NAME}-$component" $DIR/../helm/$component --set postgresql.enabled=false --set env.database=off + continue + fi + + echo "not kong component" + mkdir -p $DIR/../helm/$component/charts/ cp /tmp/ric-common-$COMMON_CHART_VERSION.tgz $DIR/../helm/$component/charts/ if [ -z $OVERRIDEYAML ]; then