Skip to content

Commit 4769263

Browse files
fix: change default cidr for kube-ovn tests (#5026)
1 parent db8b72c commit 4769263

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build-snap.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ jobs:
7676
set -x
7777
sudo snap install build/microk8s.snap --classic --dangerous
7878
./tests/smoke-test.sh
79+
# The GitHub runner is using the 10.1.0.0/16 CIDR, which would conflict with
80+
# kube-ovn's default POD_CIDR. They have to be different.
81+
export POD_CIDR="10.200.0.0/16"
82+
export POD_GATEWAY="10.200.0.1"
7983
export SKIP_PROMETHEUS="False"
8084
sudo -E bash -c "cd /var/snap/microk8s/common/addons/core/tests; pytest -s -ra test-addons.py"
8185

0 commit comments

Comments
 (0)