mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-15 16:13:20 +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>
(cherry picked from commit 6a974679f2
)
This commit is contained in:
parent
3e07c89d39
commit
e8c24fa0b9
@ -31,5 +31,6 @@ setup() {
|
||||
}
|
||||
|
||||
teardown() {
|
||||
kubectl delete -f "${pod_config_dir}/pod-quota-deployment.yaml"
|
||||
kubectl delete -f "${pod_config_dir}/resource-quota.yaml"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user