-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
✨ WIP: Cluster Provider and cluster-aware controllers #2726
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sttts 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 |
5f6764a
to
f8eeaef
Compare
f8eeaef
to
45a18eb
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.
This is way cleaner than previous one. I like it.
b4891b8
to
45b458a
Compare
b44fd93
to
980095c
Compare
e471049
to
d023d3e
Compare
4d8e79e
to
307ec8f
Compare
Co-authored-by: Vince Prignano <[email protected]> Signed-off-by: Vince Prignano <[email protected]> Signed-off-by: Dr. Stefan Schimanski <[email protected]>
307ec8f
to
3811640
Compare
Signed-off-by: Dr. Stefan Schimanski <[email protected]>
Signed-off-by: Dr. Stefan Schimanski <[email protected]>
Signed-off-by: Dr. Stefan Schimanski <[email protected]>
Signed-off-by: Dr. Stefan Schimanski <[email protected]>
Signed-off-by: Dr. Stefan Schimanski <[email protected]>
Signed-off-by: Dr. Stefan Schimanski <[email protected]>
Signed-off-by: Dr. Stefan Schimanski <[email protected]>
Signed-off-by: Dr. Stefan Schimanski <[email protected]>
if err := ctrl.Disengage(ctx, cl); err != nil { | ||
errs = append(errs, err) | ||
} | ||
} |
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.
Would this also:
- loop through c.awares and call Disengage on them
- close watches that we opened in Engage
Signed-off-by: Iván Álvarez <[email protected]>
Co-authored-by: Dr. Stefan Schimanski <[email protected]>
Signed-off-by: Iván Álvarez <[email protected]>
…ntroller-runtime into sttts-cluster-support
Signed-off-by: Iván Álvarez <[email protected]>
✨Fleet example changes
The committers listed above are authorized under a signed CLA. |
@sttts: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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-sigs/prow repository. I understand the commands that are listed here. |
// ClusterName identifies the cluster that the object is in. | ||
// The property is only populated when controllers are setup in a fleet manager. | ||
// +optional | ||
ClusterName string |
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'd like to use #2799 to avoid the need of changing this struct and instead allowing BYO request/workqueue type
PR needs rebase. 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-sigs/prow repository. |
Replacing #2207.