We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2135b7a commit 322762bCopy full SHA for 322762b
scripts/create-cluster-kind.sh
@@ -50,4 +50,8 @@ data:
50
help: "https://kind.sigs.k8s.io/docs/user/local-registry/"
51
EOF
52
53
-kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.29.1/manifests/calico.yaml
+# Mirror calico image from quay to avoid to hit the pull rate limit from Docker Hub
54
+CALICO_FILE=/tmp/calico.yaml
55
+curl -Lo $CALICO_FILE https://raw.githubusercontent.com/projectcalico/calico/v3.29.1/manifests/calico.yaml
56
+sed -i 's|docker.io/calico|quay.io/calico|g' $CALICO_FILE
57
+kubectl apply -f $CALICO_FILE
0 commit comments