File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 22
33NAMESPACE=" ${NAMESPACE:- stackrox} "
44
5- kubectl delete namespace ${NAMESPACE} || true
5+ kubectl delete namespace " ${NAMESPACE} " || true
66
77NAMESPACE_GONE=1
88until [ $NAMESPACE_GONE -eq 0 ]
99do
10- NAMESPACE_GONE=$( kubectl get namespaces -o json | jq .items[].status.phase | grep " Terminating" | wc -l )
10+ NAMESPACE_GONE=$( kubectl get namespaces -o json | jq .items[].status.phase | grep -c " Terminating" )
1111 echo -en " \rTerminating StackRox namespace.... "
1212 sleep 1
1313done
Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ scripts/ci/sensorbundle-label/list-resources.sh
6868scripts/connect-ui.sh
6969scripts/ensure_image.sh
7070scripts/grab-data-from-central.sh
71- scripts/k8s/cleanup.sh
7271scripts/k8s/kill-pod.sh
7372scripts/k8s/local-port-forward.sh
7473scripts/mergeswag.sh
You can’t perform that action at this time.
0 commit comments