From 6d9ef589e5731afdd4cd55f717a5a305fa7865ca Mon Sep 17 00:00:00 2001 From: Oleksii Shcherba Date: Wed, 31 Aug 2022 15:37:48 -0500 Subject: [PATCH] The new URI downloading calico manifests When we use Calico v3.23, docs.projectcalico.org is redirected to projectcalico.docs.tigera.io and moved manifests to folder archive. Calico v3.20 present in both locations. Change-Id: I653fbac92c4ec5c2a53670391658a50a25fe81a0 --- tools/gate/deploy-k8s.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gate/deploy-k8s.sh b/tools/gate/deploy-k8s.sh index 4e435cc1a..c330cad27 100755 --- a/tools/gate/deploy-k8s.sh +++ b/tools/gate/deploy-k8s.sh @@ -223,7 +223,7 @@ sudo -E systemctl enable --now kubelet sudo -E minikube addons list -curl -L https://docs.projectcalico.org/"${CALICO_VERSION}"/manifests/calico.yaml -o /tmp/calico.yaml +curl -LSs https://docs.projectcalico.org/archive/"${CALICO_VERSION}"/manifests/calico.yaml -o /tmp/calico.yaml sed -i -e 's#docker.io/calico/#quay.io/calico/#g' /tmp/calico.yaml