From 5a0d4ad8fde853ffe8211f8eb2942cb84eb65ea8 Mon Sep 17 00:00:00 2001 From: Cecile Robert-Michon Date: Wed, 21 Oct 2020 11:05:58 -0700 Subject: [PATCH] add a capi webhook wait to fix kubectl apply error in make create-management-cluster --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 77c38e1c6a4..6a22b1368b2 100644 --- a/Makefile +++ b/Makefile @@ -425,6 +425,7 @@ create-management-cluster: $(KUSTOMIZE) $(ENVSUBST) kubectl wait --for=condition=Available --timeout=5m -n capi-system deployment -l cluster.x-k8s.io/provider=cluster-api kubectl wait --for=condition=Available --timeout=5m -n capi-kubeadm-bootstrap-system deployment -l cluster.x-k8s.io/provider=bootstrap-kubeadm kubectl wait --for=condition=Available --timeout=5m -n capi-kubeadm-control-plane-system deployment -l cluster.x-k8s.io/provider=control-plane-kubeadm + kubectl wait --for=condition=Available --timeout=5m -n capi-webhook-system deployment -l cluster.x-k8s.io/provider=cluster-api # apply CNI ClusterResourceSets kubectl create configmap calico-addon --from-file=templates/addons/calico.yaml