NONRTRIC-924: RANPM - Add control-panel to Kubernetes deployment
[nonrtric/plt/ranpm.git] / install / install-nrt.sh
index 5bc4ae8..a30dcf3 100755 (executable)
@@ -81,18 +81,10 @@ check_error() {
     fi
 }
 
-##################################################################################
-echo "##### Installing chart: namespaces"
-##################################################################################
-
-helm install --wait namespaces helm/namespaces
-
-echo ""
-
 ##################################################################################
 echo "##### Installing chart: nrt-base-0"
 ##################################################################################
-helm install --wait -n nonrtric nrt-base-0 helm/nrt-base-0
+helm install --wait --create-namespace -n nonrtric nrt-base-0 helm/nrt-base-0
 
 # Create realm in keycloak
 
@@ -174,6 +166,20 @@ done
 
 echo ""
 
+##################################################################################
+echo "##### Installing: chart nonrtricgateway"
+##################################################################################
+
+helm install --wait -n nonrtric nonrtricgateway helm/nonrtricgateway
+echo ""
+
+##################################################################################
+echo "##### Installing: chart controlpanel"
+##################################################################################
+
+helm install --wait -n nonrtric controlpanel helm/controlpanel
+echo ""
+
 ##################################################################################
 echo "##### Installing: chart ran"
 ##################################################################################
@@ -181,7 +187,7 @@ echo "##### Installing: chart ran"
 ./helm/ran/certs/gen-certs.sh 10
 check_error $?
 
-helm install --wait -f helm/global-values.yaml -n ran ran helm/ran
+helm install --wait --create-namespace -n ran -f helm/global-values.yaml ran helm/ran
 
 echo ""