You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(router): readiness logic for multiple ctrl statuses (#908)
* chore: simplifies condition assertions by using custom funcs
Signed-off-by: Bartosz Majsak <[email protected]>
* fix(router): readiness logic for multiple ctrl statuses
When `HTTPRoute` has status from multiple controllers, current logic
fails to recognize it, expecting status only from gateway controller with
top-level standard condition `Accepted` being `true`.
This change handles scenario of the status with multiple controllers
updates, adjusting the logic to check for standard condition.
If `gatewayapi.RouteConditionAccepted` is not found in all reported
conditions it will be reported as missing.
Example: https://gist.github.com/bartoszmajsak/4329206afe107357afdcb9b92ed778bd
Signed-off-by: Bartosz Majsak <[email protected]>
---------
Signed-off-by: Bartosz Majsak <[email protected]>
0 commit comments