Skip to content

Conversation

@rajatvig
Copy link
Contributor

Add MergeType field to SecurityPolicy to enable policy merging similar
to BackendTrafficPolicy. This allows route-level policies to merge with
parent Gateway/Listener policies rather than completely overriding them.

Fixes #6734

@netlify
Copy link

netlify bot commented Jan 12, 2026

Deploy Preview for cerulean-figolla-1f9435 canceled.

Name Link
🔨 Latest commit bfcc540
🔍 Latest deploy log https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/696e4d6085c6bd00086eb125

  Add MergeType field to SecurityPolicy to enable policy merging similar
  to BackendTrafficPolicy. This allows route-level policies to merge with
  parent Gateway/Listener policies rather than completely overriding them.

  Fixes envoyproxy#6734

Signed-off-by: Rajat Vig <[email protected]>
@zhaohuabing zhaohuabing force-pushed the feat/security-policy-merge branch from 95821a7 to c8b4bdc Compare January 13, 2026 01:23
@codecov
Copy link

codecov bot commented Jan 13, 2026

Codecov Report

❌ Patch coverage is 70.77922% with 45 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.82%. Comparing base (844be64) to head (bfcc540).

Files with missing lines Patch % Lines
internal/gatewayapi/securitypolicy.go 70.77% 42 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7918      +/-   ##
==========================================
- Coverage   72.86%   72.82%   -0.04%     
==========================================
  Files         237      237              
  Lines       35536    35642     +106     
==========================================
+ Hits        25894    25957      +63     
- Misses       7799     7841      +42     
- Partials     1843     1844       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@arkodg arkodg requested a review from kkk777-7 January 14, 2026 05:03
@rajatvig rajatvig marked this pull request as ready for review January 18, 2026 23:30
@rajatvig rajatvig requested a review from a team as a code owner January 18, 2026 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support MergeType in SecurityPolicy

1 participant