Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix backtrafficpolic is applied to routes with the same prefix #2368

Closed
wants to merge 2 commits into from

Conversation

tmsnan
Copy link
Contributor

@tmsnan tmsnan commented Dec 28, 2023

What type of PR is this?

Using backendTrafficPolicies to patch route resources may lead to unexpected results.
What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #2366

@tmsnan tmsnan requested a review from a team as a code owner December 28, 2023 02:11
@tmsnan
Copy link
Contributor Author

tmsnan commented Dec 28, 2023

/retest

@tmsnan tmsnan closed this Dec 28, 2023
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.

SecurityPolicy has the same issue, please also fix it.

@tmsnan tmsnan reopened this Dec 28, 2023
Copy link

codecov bot commented Dec 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ae350be) 64.62% compared to head (030eb0c) 64.69%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2368      +/-   ##
==========================================
+ Coverage   64.62%   64.69%   +0.07%     
==========================================
  Files         114      114              
  Lines       16616    16616              
==========================================
+ Hits        10738    10750      +12     
+ Misses       5199     5189      -10     
+ Partials      679      677       -2     

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

@tmsnan tmsnan closed this Dec 28, 2023
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.

Using backendTrafficPolicies to patch route resources may lead to unexpected results.
2 participants