-
Notifications
You must be signed in to change notification settings - Fork 347
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: Route with multiple parents has incorrect namespace in parentRef status #4592
Conversation
routeParentStatusIdx := -1 | ||
defaultNamespace := gwapiv1.Namespace(metav1.NamespaceDefault) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the root cause of the bug.
@guydc this is worth cherry-picking into v1.1.3. It happens whenever a xRoute targets multple Gateways in the same ns. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4592 +/- ##
==========================================
+ Coverage 65.41% 65.44% +0.02%
==========================================
Files 211 211
Lines 31887 31904 +17
==========================================
+ Hits 20859 20878 +19
Misses 9782 9782
+ Partials 1246 1244 -2 ☔ View full report in Codecov by Sentry. |
1a8613e
to
5b4e065
Compare
Signed-off-by: Huabing Zhao <[email protected]>
6642ccb
to
095e62d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks !
… status (envoyproxy#4592) fix route status wrong ns Signed-off-by: Huabing Zhao <[email protected]> (cherry picked from commit 7285dda) Signed-off-by: Huabing Zhao <[email protected]>
Fixes: #4127
Release Notes: Yes