Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.

Commit 3715e2b

Browse files
committed
Fix test-cleanup
Signed-off-by: Pavel Macík <[email protected]>
1 parent cec6867 commit 3715e2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ create-test-namespace:
178178
test-setup: test-cleanup create-test-namespace deploy-test-3rd-party-crds
179179

180180
.PHONY: test-cleanup
181-
test-cleanup:
181+
test-cleanup: manifests
182182
$(Q)-TEST_NAMESPACE=$(TEST_NAMESPACE) $(HACK_DIR)/test-cleanup.sh
183183

184184
.PHONY: deploy-rbac

hack/remove-sbr-finalizers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ else
77
fi
88

99
# Remove SBR finalizers if CRD exists
10-
CRD_NAME=$(kubectl get -f deploy/crds/*crd.yaml -o jsonpath="{.metadata.name}" --ignore-not-found)
10+
CRD_NAME=$(kubectl get -f config/crd/bases/operators.coreos.com*.yaml -o jsonpath="{.metadata.name}" --ignore-not-found)
1111
[ -z $CRD_NAME ] && exit 0
1212

1313
SBRS=($(kubectl get $CRD_NAME $USE_NS -o jsonpath="{.items[*].metadata.name}"))

0 commit comments

Comments
 (0)