Add jenkins charts
[it/dep.git] / smo-install / scripts / layer-2 / 2-install-nonrtric-only.sh
index 5ad6b1e..77ff1e4 100755 (executable)
@@ -27,9 +27,17 @@ 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 NONRTRIC namespace..."
 
-../sub-scripts/install-nonrtric.sh ../../helm-override/oran-override.yaml
+../sub-scripts/install-nonrtric.sh ../../helm-override/$FLAVOUR/oran-override.yaml $timestamp
 
 kubectl get pods -n nonrtric
 kubectl get namespaces