Closed zeeke closed 1 year ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/server/policyrules.go | 70 | 71 | 98.59% | ||
pkg/server/server.go | 0 | 29 | 0.0% | ||
<!-- | Total: | 70 | 100 | 70.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/server/server.go | 1 | 2.64% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 2820429741: | 0.4% |
Covered Lines: | 892 |
Relevant Lines: | 1761 |
As discussed offline, I split e2e testing part in another branch, to keep the review focusing on production code.
Hi, I removed the code related to #26. thank you for reviewing
This PR fixes issue https://github.com/k8snetworkplumbingwg/multi-networkpolicy-iptables/issues/22 .
It leverage commits from (not mandatory but strongly encouraged)
Changes mostly consist of calling iptableBuffer twice, once for IPv4 and one for IPv6.
I think it's also time to refactor the complexity of
iptableBuffer.renderIngressFrom(...)
andiptableBuffer.renderEgressTo(...)
, but we can also get it in a different PR.