Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Added container-tag.yaml file for init container
[it/dep.git]
/
bin
/
deploy-ric-aux
diff --git
a/bin/deploy-ric-aux
b/bin/deploy-ric-aux
index
5ccb386
..
8a4546f
100755
(executable)
--- a/
bin/deploy-ric-aux
+++ b/
bin/deploy-ric-aux
@@
-16,7
+16,7
@@
# limitations under the License. #
################################################################################
# limitations under the License. #
################################################################################
-# This script deploys RIC aux
iliary function
components automatically
+# This script deploys RIC aux components automatically
OVERRIDEYAML=$1
OVERRIDEYAML=$1
@@
-24,22
+24,27
@@
if [ -z "$OVERRIDEYAML" ];then
echo "****************************************************************************************************************"
echo " WARNING "
echo "****************************************************************************************************************"
echo "****************************************************************************************************************"
echo " WARNING "
echo "****************************************************************************************************************"
-echo "Deploying RIC auxiliary
functions
without deployment recipe. Default configurations are used."
+echo "Deploying RIC auxiliary without deployment recipe. Default configurations are used."
echo "****************************************************************************************************************"
echo "****************************************************************************************************************"
-
fi
fi
-DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
+
ROOT_
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
-source $
DIR/../etc/ric-aux
.conf
+source $
ROOT_DIR/../etc/ric
.conf
-export RICAUX_RELEASE_NAME=$ric_aux_helm_release_name
-export RICAUX_
NAMESPACE=$ric_aux_namespac
e
+export RICAUX_
RELEASE_NAME=$helm_release_nam
e
+export RICPLT_NAMESPACE=$plt_namespace
+export RICXAPP_NAMESPACE=$xapp_namespace
+export RICAUX_NAMESPACE=$aux_namespace
+export RICINFRA_NAMESPACE=$infra_namespace
+for component in $ROOT_DIR/../ric-aux/*/; do
+ # Will print */ if no directories are available
+ . $component/bin/install $OVERRIDEYAML
-. ../ric-aux/80-Auxiliary-Functions/bin/install $OVERRIDEYAML
+done