-
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
base: main
Are you sure you want to change the base?
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.47% 65.50% +0.03%
==========================================
Files 211 211
Lines 31854 31871 +17
==========================================
+ Hits 20855 20878 +23
+ Misses 9754 9750 -4
+ Partials 1245 1243 -2 ☔ View full report in Codecov by Sentry. |
1a8613e
to
5b4e065
Compare
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
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 !
Fixes: #4127
Release Notes: Yes