aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2019-09-16 09:14:35 -0400
committerMarco Platania <platania@research.att.com>2019-09-16 09:16:07 -0400
commit97919e81b8721ae451d3c18d6b5b16ea3b4566f3 (patch)
tree449a92555fea83c25e6eb35771eff8361e4a0429
parent00a07150311b6f6a8cc65360aa478d1a0fc20591 (diff)
Fix DCAE cleanup process
Issue-ID: INT-479 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: I360d9887842ac8e86e3a52f7a549367dc63ccb7d
-rwxr-xr-xdeployment/heat/onap-rke/scripts/cleanup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/heat/onap-rke/scripts/cleanup.sh b/deployment/heat/onap-rke/scripts/cleanup.sh
index a39e4edc1..b65c8097c 100755
--- a/deployment/heat/onap-rke/scripts/cleanup.sh
+++ b/deployment/heat/onap-rke/scripts/cleanup.sh
@@ -13,7 +13,7 @@ NAMESPACE=`echo "$2" | tr '[:upper:]' '[:lower:]'`
DEPLOYMENT=`echo "$3" | tr '[:upper:]' '[:lower:]'`
if [ $COMPONENT == "dcae" ]; then
- ARRAY=(`kubectl get replicasets -n $NAMESPACE | grep $DEPLOYMENT- | awk '{print $1}'`)
+ ARRAY=(`kubectl get replicasets -n $NAMESPACE | grep $DEPLOYMENT-dcaegen2 | awk '{print $1}'`)
for i in ${ARRAY[*]}; do
kubectl delete replicaset -n $NAMESPACE $i
done