From 0261d85ea158a67574a5a08141419700fdcc07cd Mon Sep 17 00:00:00 2001 From: Hajime Tazaki Date: Fri, 19 Jul 2024 07:12:45 +0900 Subject: [PATCH] fixup calico --- .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 504e66d..c505b1e 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 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 - + curl https://docs.projectcalico.org/v3.20/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