Skip to content

NATReconciler should only modify the NATTable of NetworkInterfaces belonging to the NATs networkRef #181

@afritzler

Description

@afritzler

Describe the bug
It seems like the NATReconciler is applying the NATs public IP to all NICs in the namespace of a given NATGateway. That leads to a problem if you have multiple Networks but only one is using a NAT. In the current NATTable logic the we are doing a client.List on all in-namespace NICs which leads to a situation where all NICs regardless of their Network having a NAT or not will get a public IP.

/cc @hardikdr

Metadata

Metadata

Assignees

Labels

area/networkingNetworking-related tasks and improvements.bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions