X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=smo-install%2Fscripts%2Flayer-2%2F2-install-oran.sh;h=687c45efeb28367dcc181f396318d6309ec89402;hb=HEAD;hp=8e432cebe53785b69a00ece6f5abb26851357929;hpb=a2c2df5014145ee3126146987d9039e397b12407;p=it%2Fdep.git diff --git a/smo-install/scripts/layer-2/2-install-oran.sh b/smo-install/scripts/layer-2/2-install-oran.sh index 8e432ceb..687c45ef 100755 --- a/smo-install/scripts/layer-2/2-install-oran.sh +++ b/smo-install/scripts/layer-2/2-install-oran.sh @@ -27,9 +27,18 @@ SCRIPT=$(readlink -f "$0") SCRIPT_PATH=$(dirname "$SCRIPT") cd $SCRIPT_PATH +FLAVOUR=$1 +if [ -z "$1" ] + then + echo "No helm override flavour supplied, going to default" + FLAVOUR="default" +fi + +timestamp=$(date +%s) + echo "Starting ONAP & NONRTRIC namespaces ..." -../sub-scripts/install-onap.sh ../../helm-override/onap-override.yaml -../sub-scripts/install-nonrtric.sh ../../helm-override/oran-override.yaml +../sub-scripts/install-onap.sh ../../helm-override/$FLAVOUR/onap-override.yaml $timestamp +../sub-scripts/install-nonrtric.sh ../../helm-override/$FLAVOUR/oran-override.yaml $timestamp kubectl get pods -n onap kubectl get pods -n nonrtric