X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fdep.git;a=blobdiff_plain;f=smo-install%2Fscripts%2Flayer-2%2F2-install-oran.sh;fp=smo-install%2Fscripts%2Flayer-2%2F2-install-oran.sh;h=687c45efeb28367dcc181f396318d6309ec89402;hp=8e432cebe53785b69a00ece6f5abb26851357929;hb=dd88f8e183d4463db48e1db2abb5d101e3dfb02a;hpb=aed39eed3108410e207827c54b103581e45ae3ed 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