Fix namespace deletion

This commit is contained in:
Aleksandr Didenko 2016-07-05 15:14:14 +02:00
parent c8a488cfbe
commit ba2c3f052f

View file

@ -32,7 +32,9 @@ assign_node_roles() {
}
delete_namespace() {
kubectl delete namespace openstack && while kubectl get namespace | grep -q ^openstack ; do sleep 5; done
if kubectl get namespace | grep -q ^openstack ; then
kubectl delete namespace openstack && while kubectl get namespace | grep -q ^openstack ; do sleep 5; done
fi
}
deploy_microservices() {