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: reuse gc name in GatewayClassObservedGenerationBump conformance #1645
Conversation
…test Signed-off-by: bitliu <bitliu@tencent.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Xunzhuo The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
@@ -1,7 +1,7 @@ | |||
apiVersion: gateway.networking.k8s.io/v1beta1 | |||
kind: GatewayClass | |||
metadata: | |||
name: gatewayclass-observed-generation-bump | |||
name: "{GATEWAY_CLASS_NAME}" |
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.
There's some previous context here: #1586 (comment). There was also more discussion in the community meeting around that time.
I had 2 main concerns:
- I didn't want to allow an existing resource to be mutated by conformance tests
- I also wasn't convinced that every implementation would be able to support changes to arbitrary GatewayClasses
Making this change would go against 1 thought it would help with 2.
Eventually we agreed that these could be added if they were guarded by a feature gate and not part of the default test suite. @dprotaso can likely add some more context here as well.
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.
Thanks @robscott! I think EG should support the multiple-GC model, and it makes sence : )
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.
Yeah this test purposely mutates a second gateway class to test the observed generation is bumped in the status conditions when it is reconciled.
I believe changing the name to the default name GATEWAY_CLASS_NAME
will (may?) break other tests since it's clearing params etc.
@robscott: GitHub didn't allow me to request PR reviews from the following users: dprotaso. Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I've opened #1650 to cover updating the implementer's guide with some more info to clarify some of these issues. |
this shouldn't be needed if #1655 is accepted |
Closing this out now that #1655 has merged, feel free to reopen if I missed anything. /close |
@robscott: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Signed-off-by: bitliu bitliu@tencent.com
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: