From abc337787dbdde74bb9a5501404b32d9b5e9055c Mon Sep 17 00:00:00 2001 From: Martin Kravec Date: Fri, 25 Oct 2024 10:58:58 +0200 Subject: [PATCH] Fix teardown after verification config Signed-off-by: Martin Kravec --- tests/secure-supply-chain-tests.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/secure-supply-chain-tests.bats b/tests/secure-supply-chain-tests.bats index fe461b9..161b5ef 100644 --- a/tests/secure-supply-chain-tests.bats +++ b/tests/secure-supply-chain-tests.bats @@ -19,7 +19,7 @@ setup() { teardown_file() { load ../helpers/helpers.sh kubectl delete admissionpolicies,clusteradmissionpolicies --all -A - helmer set kubewarden-defaults --set policyServer.verificationConfig="" # TODO =null - https://github.com/kubewarden/kubewarden-controller/issues/903 + helmer reset kubewarden-defaults kubectl delete configmap -n $NAMESPACE $CONFIGMAP_NAME --ignore-not-found }