Skip to content

Commit

Permalink
fixup calico
Browse files Browse the repository at this point in the history
  • Loading branch information
thehajime committed Jul 18, 2024
1 parent 8fa741b commit 0261d85
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 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
Expand Down

0 comments on commit 0261d85

Please # to comment.