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
This commit is contained in:
Oleksii Shcherba 2022-08-31 15:37:48 -05:00
parent 1760ca7af5
commit 6d9ef589e5

View File

@ -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