-
Notifications
You must be signed in to change notification settings - Fork 0
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
Adds ReferenceGrant Tests for TCPRoute #10419
Conversation
Visit the preview URL for this PR (updated for commit 7425d74): https://gloo-edge--pr10419-issue-10414-issue-73-vfi1nodh.web.app (expires Thu, 12 Dec 2024 15:13:47 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 77c2b86e287749579b7ff9cadb81e099042ef677 |
1a1430b
to
8d96b69
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.
Loooking good!
projects/gateway2/translator/testutils/outputs/tcp-routing/invalid-backend.yaml
Show resolved
Hide resolved
projects/gateway2/translator/listener/gateway_listener_translator.go
Outdated
Show resolved
Hide resolved
test/kubernetes/e2e/features/services/tcproute/testdata/multi-backend-service.yaml
Outdated
Show resolved
Hide resolved
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.
I think I'm missing how this actually changes the behavior given that the RefGrant support is baked into the query engine
projects/gateway2/translator/listener/gateway_listener_translator.go
Outdated
Show resolved
Hide resolved
projects/gateway2/translator/listener/gateway_listener_translator.go
Outdated
Show resolved
Hide resolved
8d96b69
to
1718452
Compare
Issues linked to changelog: |
1718452
to
281ace0
Compare
8264aac
to
4ca38cf
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.
I think I'm still missing what is the functional change?
It looks like the only difference was the status reporting -- was the previous behavior incorrectly reporting status only?
The
Note: The TCPRoute e2e tests passed: --- PASS: TestK8sGateway (353.90s)
--- PASS: TestK8sGateway/CRDCategories (0.32s)
--- PASS: TestK8sGateway/CRDCategories/TestCommonCategory (0.15s)
--- PASS: TestK8sGateway/TCPRouteServices (190.34s)
--- PASS: TestK8sGateway/TCPRouteServices/TestConfigureTCPRouteBackingDestinations (190.34s)
--- PASS: TestK8sGateway/TCPRouteServices/TestConfigureTCPRouteBackingDestinations/SingleServiceTCPRoute (45.80s)
--- PASS: TestK8sGateway/TCPRouteServices/TestConfigureTCPRouteBackingDestinations/MultiServicesTCPRoute (41.81s)
--- PASS: TestK8sGateway/TCPRouteServices/TestConfigureTCPRouteBackingDestinations/CrossNamespaceTCPRouteWithReferenceGrant (52.47s)
--- PASS: TestK8sGateway/TCPRouteServices/TestConfigureTCPRouteBackingDestinations/CrossNamespaceTCPRouteWithoutReferenceGrant (50.26s)
--- PASS: TestK8sGateway/HTTPRouteServices (89.36s)
--- PASS: TestK8sGateway/HTTPRouteServices/TestConfigureHTTPRouteBackingDestinationsWithService (46.20s)
--- PASS: TestK8sGateway/HTTPRouteServices/TestConfigureHTTPRouteBackingDestinationsWithServiceAndWithoutTCPRoute (43.16s) |
@lgadban thanks for calling this out. After repro'ing https://github.com/solo-io/solo-projects/issues/7309, I confirmed that the issue was resolved by k8sgateway#10365. I have updated the title and description of this PR. @sam-heilbron we may still want to consider this a release blocker since it fixes the root cause of the TCPRoute e2e flakes and bumps the GW API CRDs to match CI (v1.1 -> v1.2). I can pull out the commits into separate PRs if needed, LMK. |
89b6433
to
1f09c3e
Compare
Issues linked to changelog: |
3f82175
to
2981cc0
Compare
Signed-off-by: Daneyon Hansen <[email protected]>
Signed-off-by: Daneyon Hansen <[email protected]>
Signed-off-by: Daneyon Hansen <[email protected]>
Signed-off-by: Daneyon Hansen <[email protected]>
Signed-off-by: Daneyon Hansen <[email protected]>
2981cc0
to
b86fb3f
Compare
Rebased since #10435 merged to fix the CI flake affecting this PR. |
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.
how did you regenerate the crds in projects/gateway2/crds
?
The old school way: $ curl -sLo ./projects/gateway2/crds/gateway-crds.yaml https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.2.0/experimental-install.yaml |
Signed-off-by: Daneyon Hansen <[email protected]> Co-authored-by: Sam Heilbron <[email protected]>
Signed-off-by: Daneyon Hansen <[email protected]> Co-authored-by: Sam Heilbron <[email protected]> Co-authored-by: Jenny Shu <[email protected]>
Adds ReferenceGrant tests for TCPRoute coverage.
Checklist:
BOT NOTES:
resolves https://github.com/solo-io/solo-projects/issues/7309
resolves e2e: SingleServiceTCPRoute Test Case #10434