Skip to content

Commit

Permalink
k8s: update calico version
Browse files Browse the repository at this point in the history
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
  • Loading branch information
thehajime committed Jul 18, 2024
1 parent dfa5634 commit 8fa741b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ jobs:
set -x
NET=`kubectl cluster-info dump | grep -- --cluster-cidr | cut -d'=' -f2 | sed s/\"\,//`
# install calico
curl -s https://docs.projectcalico.org/v3.20/manifests/calico.yaml | sed "s,192.168.0.0/16,$NET," | kubectl apply -f -
curl https://raw.githubusercontent.com/projectcalico/calico/v3.28.0/manifests/calico.yaml | sed "s,192.168.0.0/16,$NET," | sed "s/\(.*\) #\(.*CALICO_IPV4POOL_CIDR\)/\1\2/" | sed "s,\(.*\) #\(.*value.*`echo $NET`.*\),\1\2," | kubectl apply -f -
sleep 30
DST=`kubectl get node -o wide | grep control-plane | awk '{print $6}'`
bash -e ${{ github.workspace }}/test/k8s-test.sh $DST
Expand Down

0 comments on commit 8fa741b

Please sign in to comment.