-
Notifications
You must be signed in to change notification settings - Fork 680
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
GatewayAPI: fix LB status address exception #6644
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: gang.liu <[email protected]>
Signed-off-by: gang.liu <[email protected]>
Signed-off-by: gang.liu <[email protected]>
Signed-off-by: gang.liu <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6644 +/- ##
==========================================
+ Coverage 81.76% 81.78% +0.01%
==========================================
Files 133 133
Lines 15944 15944
==========================================
+ Hits 13037 13040 +3
+ Misses 2614 2611 -3
Partials 293 293
|
The Contour project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to the #contour channel in the Kubernetes Slack |
The Contour project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to the #contour channel in the Kubernetes Slack |
The Contour project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to the #contour channel in the Kubernetes Slack |
Hi @izturn, I'm not fully familiar with this case but could this change result in the condition not being displayed in cases where the status is never updated, even when it should be? If so, should the comparison logic for Gateway also take the status into account, similarly as here, to re-trigger the update? |
The Contour project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to the #contour channel in the Kubernetes Slack |
Apologize for the delayed response, TBH, my fix only solved the problem we discovered, and we did not conduct a comprehensive evaluation of its impact. Based on your suggestions, I will conduct an evaluation later. |
Signed-off-by: Gang Liu [email protected]
When the user explicitly specifies an address, but the load balancer has not yet assigned this specified address to the gateway, the current logic here evaluates to
false
. After subsequently receiving the updated address status, the related update logic will not be triggered again (as currently onlythe generation
is compared), so this situation is treated astrue
.