-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(NRC): find all node IPs for NAT exclusion
Back in commit 9fd46cc when I was pulling out the krnode struct I made a mistake in the `syncNodeIPSets()` function and didn't grab the IPs of all nodes, instead I only grabbed the IP of the current node multiple times. This caused other nodes (besides the current one) to get removed from the `kube-router-node-ips` ipset which ensures that we don't NAT traffic from pods to nodes (daemons and HostNetwork'd items). This should fix that problem.
- Loading branch information
Showing
1 changed file
with
14 additions
and
9 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