Skip to content

Commit

Permalink
Update Calico installation script to support v3.29.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lou-lan committed Nov 4, 2024
1 parent 867ab2e commit 6035f2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/scripts/installCalico.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ case ${E2E_IP_FAMILY} in
exit 1
esac

kubectl patch felixconfigurations.crd.projectcalico.org default --type='merge' -p '{"spec":{"chainInsertMode":"Append"}}' || { echo "failed to patch calico chainInsertMode"; exit 1; }
# there no default felixconfigurations.crd.projectcalico.org in latest calico version (https://github.com/projectcalico/calico/releases/tag/v3.29.0)
kubectl patch felixconfigurations.crd.projectcalico.org default --type='merge' -p '{"spec":{"chainInsertMode":"Append"}}' || true
if [[ ${E2E_IP_FAMILY} != "ipv4" ]]; then
ok=no
for i in {1..10}; do
Expand Down

0 comments on commit 6035f2d

Please sign in to comment.