+for component in $ROOT_DIR/../ric-infra/*/; do
+ component_name=$(echo $component | awk '{n=split($0, temp,"/"); print temp[n-1];}')
+
+ case "$component_name" in
+ 00-Kubernetes)
+ if $DEPLOY_K8S; then
+ . $component/bin/install $OVERRIDEYAM
+ fi
+ ;;
+ 10-Nexus)
+ if $USE_LOCAL_DOCKER_REGISTRY; then
+ . $component/bin/install $OVERRIDEYAM
+ fi
+ ;;
+ 15-Chartmuseum)
+ if $USE_LOCAL_HELM_REPO; then
+ . $component/bin/install $OVERRIDEYAM
+ fi
+ ;;
+ 20-Monitoring)
+ if $DEPLOY_K8S_MONITORING; then
+ . $component/bin/install $OVERRIDEYAM
+ fi
+ ;;
+ *)
+ . $component/bin/install $OVERRIDEYAM
+
+ esac
+done