Fix namespace deletion
This commit is contained in:
parent
c8a488cfbe
commit
ba2c3f052f
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@ assign_node_roles() {
|
||||||
}
|
}
|
||||||
|
|
||||||
delete_namespace() {
|
delete_namespace() {
|
||||||
|
if kubectl get namespace | grep -q ^openstack ; then
|
||||||
kubectl delete namespace openstack && while kubectl get namespace | grep -q ^openstack ; do sleep 5; done
|
kubectl delete namespace openstack && while kubectl get namespace | grep -q ^openstack ; do sleep 5; done
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
deploy_microservices() {
|
deploy_microservices() {
|
||||||
|
|
Loading…
Reference in a new issue