Skip to content

Commit

Permalink
Merge pull request #1527 from spidernet-io/update-calico-shell
Browse files Browse the repository at this point in the history
Update Calico installation script to support v3.29.0
  • Loading branch information
weizhoublue authored Nov 5, 2024
2 parents 867ab2e + 3b728f5 commit 8eaa086
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 8eaa086

Please sign in to comment.