File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -695,6 +695,9 @@ jobs:
695695 - ipv4
696696 - ipv6
697697 - dual
698+ np-enforcement :
699+ - standard
700+ - lax
698701 steps :
699702 - uses : jlumbroso/free-disk-space@v1.3.1
700703 with :
@@ -755,6 +758,8 @@ jobs:
755758 ${{ runner.os }}-e2e-go-${{ env.GO_VERSION }}-x86-${{ github.base_ref }}-
756759
757760 - name : Install kind
761+ env :
762+ NP_ENFORCEMENT : " ${{ matrix.np-enforcement }}"
758763 uses : helm/kind-action@v1.12.0
759764 with :
760765 version : ${{ env.KIND_VERSION }}
@@ -890,6 +895,9 @@ jobs:
890895 - ipv4
891896 - ipv6
892897 - dual
898+ np-enforcement :
899+ - standard
900+ - lax
893901 steps :
894902 - uses : jlumbroso/free-disk-space@v1.3.1
895903 with :
@@ -957,6 +965,8 @@ jobs:
957965 make kind-ghcr-pull kind-init-${{ matrix.ip-family }}
958966
959967 - name : Install Kube-OVN
968+ env :
969+ NP_ENFORCEMENT : " ${{ matrix.np-enforcement }}"
960970 id : install
961971 run : make kind-install-${{ matrix.ip-family }}
962972
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ VLAN_NIC=${VLAN_NIC:-}
1313HW_OFFLOAD=${HW_OFFLOAD:- false}
1414ENABLE_LB=${ENABLE_LB:- true}
1515ENABLE_NP=${ENABLE_NP:- true}
16+ NP_ENFORCEMENT=${NP_ENFORCEMENT:- standard}
1617ENABLE_EIP_SNAT=${ENABLE_EIP_SNAT:- true}
1718LS_DNAT_MOD_DL_DST=${LS_DNAT_MOD_DL_DST:- true}
1819LS_CT_SKIP_DST_LPORT_IPS=${LS_CT_SKIP_DST_LPORT_IPS:- true}
@@ -4691,6 +4692,7 @@ spec:
46914692 - --pod-nic-type=$POD_NIC_TYPE
46924693 - --enable-lb=$ENABLE_LB
46934694 - --enable-np=$ENABLE_NP
4695+ - --np-enforcement=$NP_ENFORCEMENT
46944696 - --enable-eip-snat=$ENABLE_EIP_SNAT
46954697 - --enable-external-vpc=$ENABLE_EXTERNAL_VPC
46964698 - --logtostderr=false
You can’t perform that action at this time.
0 commit comments