-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new functions to FakeAddressSetFactory for more insight into
existing address sets. Update db generation function from policy_test.go to be dualstack- compatible (policy_test.go still only uses ipv4, but peer_address_set_test.go, has ipv4, ipv6 and dualstack). Add tests for PeerAddressSet and peerAddressSetSyncer Update Netpol-owned address sets to peer-owned. Add netpol test that verifies that default deny port groups and port groups for policies without peer selectors (IpBlock) are cleaned up om sync. Update policy sync tests with existing policy in every namespace to make sure port groups won't be deleted as stale before being updated. Signed-off-by: Nadia Pinaeva <npinaeva@redhat.com>
- Loading branch information
Showing
4 changed files
with
1,228 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.