-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds support for setting the .net property when defining the failsafepolicies in felixconfig. This is a not so well documented feature that slipped through when aiming for feature parity. For reference, here is the documentation for [0] felixconfig. - setting failsafeInboundHostPorts to e.g. {Net: "10.0.0.0/24", ...} will add a filter for inbound packets for their source prefix to match 10.0.0/24. - setting failsafeOutboundHostPorts to e.g. {Net: "20.0.0.0/24". ...} will add a filter for outbound packets for their destination prefix to match 20.0.0/24 [0] https://docs.tigera.io/calico/latest/reference/resources/felixconfig#spec Signed-off-by: Nathan Skrzypczak <[email protected]>
- Loading branch information
Showing
1 changed file
with
63 additions
and
52 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