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
Add one-click deployment scripts for deploying INFRA PLT and AUX
[it/dep.git]
/
ric-infra
/
20-Monitoring
/
bin
/
install
diff --git
a/ric-infra/20-Monitoring/bin/install
b/ric-infra/20-Monitoring/bin/install
index
a714cee
..
58274bf
100755
(executable)
--- a/
ric-infra/20-Monitoring/bin/install
+++ b/
ric-infra/20-Monitoring/bin/install
@@
-24,10
+24,10
@@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
source $DIR/../etc/elfkp.conf
source $DIR/../etc/elfkp.conf
-if [ -z "$RIC
AUX
_RELEASE_NAME" ];then
+if [ -z "$RIC
INFRA
_RELEASE_NAME" ];then
RELEASE_NAME=$helm_release_name
else
RELEASE_NAME=$helm_release_name
else
- RELEASE_NAME=$RIC
AUX
_RELEASE_NAME
+ RELEASE_NAME=$RIC
INFRA
_RELEASE_NAME
fi
# Namespace configuration
if [ -z "$RICPLT_NAMESPACE" ];then
fi
# Namespace configuration
if [ -z "$RICPLT_NAMESPACE" ];then
@@
-61,7
+61,7
@@
fi
RICAUX_COMPONENTS="elfkp"
RICAUX_COMPONENTS="elfkp"
-echo "Deploying RIC
AUX
components [$RICAUX_COMPONENTS]"
+echo "Deploying RIC
infra
components [$RICAUX_COMPONENTS]"
echo "Helm Release Name: $RELEASE_NAME"
echo "Helm Release Name: $RELEASE_NAME"
@@
-83,8
+83,8
@@
for component in $RICAUX_COMPONENTS; do
#eval "$CMD"
if [ -z $OVERRIDEYAML ]; then
#eval "$CMD"
if [ -z $OVERRIDEYAML ]; then
- helm install --debug --namespace "${NAMESPACE}" --name "${RELEASE_NAME}-$component" $COMMON_OVERRIDE $DIR/../helm/$component
+ helm install --debug --namespace "${
INFRA_
NAMESPACE}" --name "${RELEASE_NAME}-$component" $COMMON_OVERRIDE $DIR/../helm/$component
else
else
- helm install -f $OVERRIDEYAML --namespace "${NAMESPACE}" --name "${RELEASE_NAME}-$component" $COMMON_OVERRIDE $DIR/../helm/$component
+ helm install -f $OVERRIDEYAML --namespace "${
INFRA_
NAMESPACE}" --name "${RELEASE_NAME}-$component" $COMMON_OVERRIDE $DIR/../helm/$component
fi
done
fi
done