X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-platform%2F55-Ext-Services%2Fbin%2Funinstall;h=751c157e3c6925272996597efdca7443c720a764;hb=b0d610ef0ba334c963cac6e2f3423657fda803dd;hp=97edfa2216f6198aa77673d07504aa571f54aec0;hpb=431ae3c7eab922223215b52f2a347029eb95335b;p=it%2Fdep.git diff --git a/ric-platform/55-Ext-Services/bin/uninstall b/ric-platform/55-Ext-Services/bin/uninstall index 97edfa22..751c157e 100755 --- 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 -if [ -z "$RICAUX_RELEASE_NAME" ];then +if [ -z "$RICPLT_RELEASE_NAME" ];then RELEASE_NAME=$helm_release_name else - RELEASE_NAME=$RICAUX_RELEASE_NAME + RELEASE_NAME=$RICPLT_RELEASE_NAME fi -if [ -z "$RICAUX_NAMESPACE" ];then +if [ -z "$RICPLT_NAMESPACE" ];then NAMESPACE=$namespace else - NAMESPACE=$RICAUX_NAMESPACE + NAMESPACE=$RICPLT_NAMESPACE fi -RICAUX_COMPONENTS="ext" +RICPLT_COMPONENTS="extsvcplt" -echo "Undeploying RIC AUX components [$RICAUX_COMPONENTS]" +echo "Undeploying RIC Platform components [$RICPLT_COMPONENTS]" 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