feat: add transparent-tunnel CNI mode for GPS VFP enforcement (Windows)#4362
Draft
alam-tahmid wants to merge 2 commits intoAzure:masterfrom
Draft
feat: add transparent-tunnel CNI mode for GPS VFP enforcement (Windows)#4362alam-tahmid wants to merge 2 commits intoAzure:masterfrom
alam-tahmid wants to merge 2 commits intoAzure:masterfrom
Conversation
05622f9 to
434e1a4
Compare
434e1a4 to
21e2cc6
Compare
|
This pull request is stale because it has been open for 2 weeks with no activity. Remove stale label or comment or this will be closed in 7 days |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reason for Change:
Adds Windows support for the
transparent-tunnelCNI operating mode, enabling GlobalPodSecurity (GPS) VFP enforcement. Companion to #4319 (Linux).GPS requires pod traffic to traverse the Azure VFP pipeline so NSG rules can be enforced at the pod level. On Windows with HNS, pod traffic normally bypasses VFP via direct L2 switching. The
transparent-tunnelmode adds /32 host routes via the gateway for each pod IP,forcing traffic through VFP for inspection.
Key changes:
DeleteEndpointStatelessin manager.go (was hardcoding mode, skipping GPS cleanup)Issue Fixed:
Requirements:
Notes:
- Depends on #4319 (Linux transparent-tunnel) for shared
opModeTransparentTunnelconstanttransparent_tunnel_endpoint_windows.gomatching Linux's file pattern