From 08d7453dfdb586631419c57daf49d277f387616c Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Sun, 3 Nov 2024 19:07:58 -0800 Subject: [PATCH] Clean up gateway class in ci Signed-off-by: Tamal Saha --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 79b1956d9..8b5f11e10 100644 --- a/Makefile +++ b/Makefile @@ -349,6 +349,8 @@ ct: $(BUILD_DIRS) $(CHART_TEST_IMAGE) \ /bin/sh -c " \ set -x; \ + kubectl patch $(kubectl get gatewayclass -o name) -p '{"metadata":{"finalizers":null}}' --type=merge || true; \ + kubectl delete gatewayclass -A --all || true; \ kubectl delete crds --all; \ kubectl apply --validate=false -f https://github.com/cert-manager/cert-manager/releases/latest/download/cert-manager.yaml; \ kubectl wait --for=condition=Ready pods -n cert-manager --all --timeout=5m; \