Closed zeeke closed 1 year ago
Thanks for the issue. Will take a look into it when I'm back from off.
Hi @zeeke, thank you for filing the issue. I repro it and I could understand that. Yeah, could you please work on that?
Yes, I can tackle it
@s1061123 I tried it after #28 and seems to be fixed. Closing this
I discovered a behavior that differs from regular NetworkPolicies about ingress rules and outgoing traffic. Let me know if it is the intended behavior:
The scenario can be reproduced in a Kind (with Calico as default CNI network plugin) using this fork (branch
multinetpolicy-bugs
):The scenario creates
test-oneway-multi
pod-a
,pod-b
,pod-c
)test-multinetwork-policy-oneway-1
pod-a
pod-b
test-oneway-reguar
<same astest-oneway-multi
with regular NetworkPoliciesoneway-test.sh reproduces the behavior:
With regular NetworkPolicies,
pod-a
is able to create connections topod-c
, while it is not possible with MultiNetworkPolicies.Let me know if I can work on a fix on this