-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
keep Gateway's
AttachedRoutes
field up to date (#4052)
* feat: attachedRoutes updated The AttachedRoutes listenerStatus field gets updated and enforced by the GatewayController. Signed-off-by: Mattia Lavacca <lavacca.mattia@gmail.com> * chore: getAttachedRoutesForListener func created Signed-off-by: Mattia Lavacca <lavacca.mattia@gmail.com> * chore: routeAcceptedByGateways func factorized Signed-off-by: Mattia Lavacca <lavacca.mattia@gmail.com> * chore: PR rebased Signed-off-by: Mattia Lavacca <lavacca.mattia@gmail.com> * Update internal/controllers/gateway/gateway_utils.go Co-authored-by: Patryk Małek <patryk.malek@konghq.com> * chore: unit tests for IsRouteAcceptedByListener Signed-off-by: Mattia Lavacca <lavacca.mattia@gmail.com> * chore: PR comments addressed Signed-off-by: Mattia Lavacca <lavacca.mattia@gmail.com> --------- Signed-off-by: Mattia Lavacca <lavacca.mattia@gmail.com> Co-authored-by: Patryk Małek <patryk.malek@konghq.com>
- Loading branch information
Showing
9 changed files
with
784 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.