mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
tests: delete k8s deployment at the test's end
At the end of k8s-kill-all-process-in-container.bats, delete the deployment it created. Fixes: #7752 Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
parent
7705c5962e
commit
6a974679f2
@ -31,5 +31,6 @@ setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
teardown() {
|
teardown() {
|
||||||
|
kubectl delete -f "${pod_config_dir}/pod-quota-deployment.yaml"
|
||||||
kubectl delete -f "${pod_config_dir}/resource-quota.yaml"
|
kubectl delete -f "${pod_config_dir}/resource-quota.yaml"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user