mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-04 11:06:21 +00:00
tests:gha: delete namespace before resetting namespace
Delete the kata-containers-k8s-tests namespace before resetting the namespace to ensure that no deployments or services are restarting and creating pods in the default namespace. Signed-off-by: ChengyuZhu6 <chengyu.zhu@intel.com> Signed-off-by: Wang, Arron <arron.wang@intel.com>
This commit is contained in:
parent
e874c8fa2e
commit
489afffd8c
@ -361,8 +361,8 @@ function set_default_cluster_namespace() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function delete_test_cluster_namespace() {
|
function delete_test_cluster_namespace() {
|
||||||
set_default_cluster_namespace
|
|
||||||
kubectl delete namespace "${TEST_CLUSTER_NAMESPACE}"
|
kubectl delete namespace "${TEST_CLUSTER_NAMESPACE}"
|
||||||
|
set_default_cluster_namespace
|
||||||
}
|
}
|
||||||
|
|
||||||
function delete_test_runners(){
|
function delete_test_runners(){
|
||||||
|
Loading…
Reference in New Issue
Block a user