aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreasgeissler <andreas-geissler@telekom.de>2020-03-13 15:13:35 +0100
committerMarco Platania <platania@research.att.com>2020-03-25 15:38:57 +0000
commitef0371c50a1d1006f580f0392eeb42ce54f82446 (patch)
tree907e36614bd59efd37786341f48b3b52ec45ffdf
parentd688c4c4e37526e276690b5b51d1044b7e220aff (diff)
corrected the hardcoded DB pod-names
Issue-ID: INT-1484 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: I7f1670a79db751087f722a1196e2de23448f7a2a
-rwxr-xr-xdeployment/heat/onap-rke/scripts/cleanup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/deployment/heat/onap-rke/scripts/cleanup.sh b/deployment/heat/onap-rke/scripts/cleanup.sh
index b65c8097c..3a6644b69 100755
--- a/deployment/heat/onap-rke/scripts/cleanup.sh
+++ b/deployment/heat/onap-rke/scripts/cleanup.sh
@@ -31,19 +31,19 @@ fi
if [ $COMPONENT == "sdc" ]; then
for keyspace in sdctitan sdcrepository sdcartifact sdccomponent sdcaudit workflow dox zusammen_dox zusammen_workflow ; do
- kubectl -n $NAMESPACE exec dev-cassandra-cassandra-0 -- cqlsh -u cassandra -p cassandra --request-timeout=30 -e "drop keyspace ${keyspace}"
+ kubectl -n $NAMESPACE exec $DEPLOYMENT-cassandra-0 -- cqlsh -u cassandra -p cassandra --request-timeout=30 -e "drop keyspace ${keyspace}"
done
fi
if [ $COMPONENT == "so" ]; then
for database in camundabpmn catalogdb requestdb; do
- kubectl -n $NAMESPACE exec dev-mariadb-galera-mariadb-galera-0 -- mysql -uroot -psecretpassword -e "drop database ${database}"
+ kubectl -n $NAMESPACE exec $DEPLOYMENT-mariadb-galera-0 -- mysql -uroot -psecretpassword -e "drop database ${database}"
done
fi
if [ $COMPONENT == "sdnc" ]; then
for database in sdnctl; do
- kubectl -n $NAMESPACE exec dev-mariadb-galera-mariadb-galera-0 -- mysql -uroot -psecretpassword -e "drop database ${database}"
+ kubectl -n $NAMESPACE exec $DEPLOYMENT-mariadb-galera-0 -- mysql -uroot -psecretpassword -e "drop database ${database}"
done
fi