From 9095634e9dc119f914742f5440d385a2c906e2ea Mon Sep 17 00:00:00 2001 From: Sascha Schwarze Date: Mon, 25 Apr 2022 19:28:05 +0000 Subject: [PATCH] Update kubectl wait to check for existing condition --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 82765647eb..bd693ec580 100644 --- a/Makefile +++ b/Makefile @@ -225,7 +225,7 @@ install-with-pprof: install-apis: kubectl apply -f deploy/crds/ for i in 1 2 3 ; do \ - kubectl wait --timeout=$(TIMEOUT) --for="condition=something" crd/clusterbuildstrategies.shipwright.io && \ + kubectl wait --timeout=$(TIMEOUT) --for="condition=Established" crd/clusterbuildstrategies.shipwright.io && \ break ; \ sleep 15 ; \ done