-
Notifications
You must be signed in to change notification settings - Fork 472
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
Adding a controller field to GatewayReference in RouteGatewayStatus #616
Adding a controller field to GatewayReference in RouteGatewayStatus #616
Conversation
@robscott: GitHub didn't allow me to request PR reviews from the following users: howardjohn, stevesloka. 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. |
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.
lgtm
I think it would be up to the implementors to make this field unique by prefixing with the controller
name on the GatewayClass with something else unique to their implementation.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: robscott, stevesloka The full list of commands accepted by this bot can be found here. The pull request process is described 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.
Two concerns:
- GWC is not immutable so someone could change the name of the controller. 🤷🏾 There is only so much we can do using CRDs.
- Sometimes multiple controllers of the same implementations could be running. I'm assuming that in that case,
controller
field will be different for each instance of the same implementation. @youngnick Any thoughts?
8693db6
to
9ad692e
Compare
Thanks for the great feedback on this @hbagdi and @stevesloka! I think I've resolved everything now - PTAL. |
9ad692e
to
b7730e8
Compare
@hbagdi Thanks for the great feedback on this one, I think everything should be resolved now. PTAL. |
/lgtm |
What type of PR is this?
/kind cleanup
/kind api-change
What this PR does / why we need it:
This adds controller to GatewayReference in RouteGatewayStatus. This will be especially helpful for cleaning up old entries in status.
Which issue(s) this PR fixes:
Fixes #591
Does this PR introduce a user-facing change?:
/cc @hbagdi @howardjohn @stevesloka