Skip to content

Commit

Permalink
cni: update calico and canal to v3.14
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Trost <[email protected]>
  • Loading branch information
galexrt committed May 24, 2020
1 parent 3b5f1f9 commit 916ea29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vagrantfiles/Vagrantfile_scripts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ case "#{$kube_network}" in
if [ -n "#{HTTP_PROXY}" ]; then
export HTTP_PROXY="#{HTTP_PROXY}" HTTPS_PROXY="#{HTTPS_PROXY}" NO_PROXY="#{NO_PROXY}"
fi
curl --retry 5 --fail -s https://docs.projectcalico.org/v3.13/getting-started/kubernetes/installation/hosted/canal/canal.yaml
curl --retry 5 --fail -s https://docs.projectcalico.org/v3.14/getting-started/kubernetes/installation/hosted/canal/canal.yaml
) | \
sed -e 's/canal_iface:.*/canal_iface: "eth1"/' | \
kubectl apply -f -
Expand All @@ -155,7 +155,7 @@ case "#{$kube_network}" in
if [ -n "#{HTTP_PROXY}" ]; then
export HTTP_PROXY="#{HTTP_PROXY}" HTTPS_PROXY="#{HTTPS_PROXY}" NO_PROXY="#{NO_PROXY}"
fi
curl --retry 5 --fail -s https://docs.projectcalico.org/v3.13/manifests/calico.yaml
curl --retry 5 --fail -s https://docs.projectcalico.org/v3.14/manifests/calico.yaml
) | \
sed -e 's?192.168.0.0/16?#{POD_NW_CIDR}?g' | \
kubectl apply -f -
Expand Down

0 comments on commit 916ea29

Please sign in to comment.