From 8fa741bf9db309e3ba17bf364583894f0553403d Mon Sep 17 00:00:00 2001 From: Hajime Tazaki Date: Thu, 18 Jul 2024 12:05:54 +0900 Subject: [PATCH] k8s: update calico version Signed-off-by: Hajime Tazaki --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbf1eab..504e66d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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