From 03ac68a1489a4cea714705abe4e19ed93d92e986 Mon Sep 17 00:00:00 2001 From: Jakub Warczarek Date: Thu, 16 May 2024 12:27:35 +0200 Subject: [PATCH] Wait for CRDs --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index dc529aedf..874fd1984 100644 --- a/Makefile +++ b/Makefile @@ -499,6 +499,7 @@ install: manifests kustomize install-gateway-api-crds .PHONY: install.all install.all: manifests kustomize install-gateway-api-crds kubectl apply --server-side -f $(PROJECT_DIR)/config/crd/bases/ + kubectl get crd -o NAME | grep -E 'konghq.com|gateway.networking.k8s.io' | xargs -I{} bash -c "kubectl wait --for condition=established {};" # Uninstall CRDs from the K8s cluster specified in ~/.kube/config. # Call with ignore-not-found=true to ignore resource not found errors during deletion.