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
Fix A1 healthcheck path
[it/dep.git]
/
ric-platform
/
55-Ext-Services
/
bin
/
uninstall
diff --git
a/ric-platform/55-Ext-Services/bin/uninstall
b/ric-platform/55-Ext-Services/bin/uninstall
index
97edfa2
..
751c157
100755
(executable)
--- a/
ric-platform/55-Ext-Services/bin/uninstall
+++ b/
ric-platform/55-Ext-Services/bin/uninstall
@@
-24,25
+24,24
@@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
source $DIR/../etc/ext.conf
source $DIR/../etc/ext.conf
-if [ -z "$RIC
AUX
_RELEASE_NAME" ];then
+if [ -z "$RIC
PLT
_RELEASE_NAME" ];then
RELEASE_NAME=$helm_release_name
else
RELEASE_NAME=$helm_release_name
else
- RELEASE_NAME=$RIC
AUX
_RELEASE_NAME
+ RELEASE_NAME=$RIC
PLT
_RELEASE_NAME
fi
fi
-if [ -z "$RIC
AUX
_NAMESPACE" ];then
+if [ -z "$RIC
PLT
_NAMESPACE" ];then
NAMESPACE=$namespace
else
NAMESPACE=$namespace
else
- NAMESPACE=$RIC
AUX
_NAMESPACE
+ NAMESPACE=$RIC
PLT
_NAMESPACE
fi
fi
-RIC
AUX_COMPONENTS="ex
t"
+RIC
PLT_COMPONENTS="extsvcpl
t"
-echo "Undeploying RIC
AUX components [$RICAUX
_COMPONENTS]"
+echo "Undeploying RIC
Platform components [$RICPLT
_COMPONENTS]"
echo "Platform Namespace: $NAMESPACE"
echo "Helm Release Name: $RELEASE_NAME"
echo "Platform Namespace: $NAMESPACE"
echo "Helm Release Name: $RELEASE_NAME"
-
-for component in $RICAUX_COMPONENTS; do
+for component in $RICPLT_COMPONENTS; do
helm delete --purge "${RELEASE_NAME}-$component"
done
helm delete --purge "${RELEASE_NAME}-$component"
done