File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -49,4 +49,9 @@ kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.30.2
4949
5050kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.30.2/manifests/custom-resources.yaml
5151
52- while ! kubectl get pods -A -l k8s-app=calico-node 2> /dev/null | grep -q " Running" ; do echo " Waiting for Calico pods to start..." ; sleep 1; done
52+ while ! kubectl get pods -A -l k8s-app=calico-node 2> /dev/null | grep --quiet " Running" ; do echo " Waiting for Calico pods to start..." ; sleep 1; done
53+
54+ while ! kubectl api-resources --api-group=projectcalico.org | grep --ignore-case networkpolicy > /dev/null 2>&1 ; do
55+ echo " Waiting for Calico API resources to be available (e.g. NetworkPolicy)..."
56+ sleep 1
57+ done
You can’t perform that action at this time.
0 commit comments