From ea081bd882103e0300a01a1623f588ae6bee7501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Thu, 4 Apr 2024 09:28:45 +0200 Subject: [PATCH] ci.ocp: Add webhook cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cleanup the webhook resources as well. Signed-off-by: Lukáš Doktor --- ci/openshift-ci/cleanup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/openshift-ci/cleanup.sh b/ci/openshift-ci/cleanup.sh index 587c43147..af27ec1b4 100755 --- a/ci/openshift-ci/cleanup.sh +++ b/ci/openshift-ci/cleanup.sh @@ -25,6 +25,10 @@ WORKAROUND_9206_CRIO=${WORKAROUND_9206_CRIO:-no} # Ignore errors as we want best-effort-approach here trap - ERR +# Delete webhook resources +oc delete -f "${scripts_dir}/../../tools/testing/kata-webhook/deploy" +oc delete -f "${scripts_dir}/cluster/deployments/configmap_kata-webhook.yaml.in" + # Delete potential smoke-test resources oc delete -f "${scripts_dir}/smoke/service.yaml" oc delete -f "${scripts_dir}/smoke/service_kubernetes.yaml"