follow redirects when downloading calico manifests
When attempting to use Calico v3.23, docs.projectcalico.org is redirected to projectcalico.docs.tigera.io. Calico v3.20 does not exist at the new URL, so following redirects to handle both cases. Change-Id: I251ced47224f2c1d369cb6acf68784cf3351ade0
This commit is contained in:
parent
ee331fd0d3
commit
6aa283d60d
@ -187,7 +187,7 @@ sudo -E systemctl enable --now kubelet
|
||||
|
||||
sudo -E minikube addons list
|
||||
|
||||
curl https://docs.projectcalico.org/"${CALICO_VERSION}"/manifests/calico.yaml -o /tmp/calico.yaml
|
||||
curl -L https://docs.projectcalico.org/"${CALICO_VERSION}"/manifests/calico.yaml -o /tmp/calico.yaml
|
||||
|
||||
sed -i -e 's#docker.io/calico/#quay.io/calico/#g' /tmp/calico.yaml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user