Skip to content

fix: ZoneAwareRouting not working GNM(gateway namespace mode)#6107

Merged
zirain merged 3 commits intoenvoyproxy:mainfrom
zirain:gateway-namespace-mode/ZoneAwareRouting
May 19, 2025
Merged

fix: ZoneAwareRouting not working GNM(gateway namespace mode)#6107
zirain merged 3 commits intoenvoyproxy:mainfrom
zirain:gateway-namespace-mode/ZoneAwareRouting

Conversation

@zirain
Copy link
Member

@zirain zirain commented May 18, 2025

Remove namespaceSelector in MutatingWebhookConfiguration when enabling GNM.

@zirain zirain requested a review from a team as a code owner May 18, 2025 12:00
@codecov
Copy link

codecov bot commented May 18, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 70.52%. Comparing base (35406aa) to head (5972cf9).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
internal/provider/kubernetes/topology_injector.go 53.84% 6 Missing ⚠️
internal/provider/kubernetes/kubernetes.go 0.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (50.00%) is below the target coverage (60.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6107      +/-   ##
==========================================
+ Coverage   70.42%   70.52%   +0.10%     
==========================================
  Files         217      217              
  Lines       36181    36191      +10     
==========================================
+ Hits        25480    25525      +45     
+ Misses       9182     9153      -29     
+ Partials     1519     1513       -6     

☔ 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.

Copy link
Member

@zhaohuabing zhaohuabing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks!

zirain added 3 commits May 19, 2025 09:49
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
@zirain zirain force-pushed the gateway-namespace-mode/ZoneAwareRouting branch from 0abb145 to 5972cf9 Compare May 19, 2025 01:49
@zirain zirain merged commit 4a11a65 into envoyproxy:main May 19, 2025
75 of 81 checks passed
@zirain zirain deleted the gateway-namespace-mode/ZoneAwareRouting branch May 19, 2025 09:21
values:
- {{ .Release.Namespace }}
{{- else if gt (len $watchedNamespaces) 0 }}
namespaceSelector:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is an issue with this approach, with multiple envoy-gateway running in 1 cluster, there's no way to decide which special web hook server to call

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.

4 participants