Skip to content

Commit 6e14e77

Browse files
brbjulianwiedmann
authored andcommitted
loader/test: Add endpoint-routes to overlay/wg
As pointed by Julian, the endpoint-routes config affects the bpf_overlay and bpf_wireguard behavior (both via [local_delivery()]). The 69c8235 commit did not consider that. Suggested-by: Julian Wiedmann <jwi@isovalent.com> Signed-off-by: Martynas Pumputis <martynas@isovalent.com>
1 parent 19dcecb commit 6e14e77

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/datapath/loader/verifier_load_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ func baseOverlayPermutations() *loadPermutationBuilder {
8989
t.Node.DebugLB = true
9090
t.EnableConntrackAccounting = true
9191
}),
92+
Increment(func(t *config.BPFOverlay, v bool) { t.Node.EnableEndpointRoutes = v }),
9293
)
9394
return b
9495
}
@@ -123,6 +124,7 @@ func baseWireguardPermutations() *loadPermutationBuilder {
123124
t.EnableIPv4Fragments = true
124125
t.EnableIPv6Fragments = true
125126
}),
127+
Increment(func(t *config.BPFWireguard, v bool) { t.Node.EnableEndpointRoutes = v }),
126128
)
127129
return b
128130
}

0 commit comments

Comments
 (0)