-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Support for client-go code generated controllers as Controller Watch … #159
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
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pwittrock 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 |
Can you add a description of "why" for posterity? Even just "this makes it easier for existing projects to incrementally migrate to controller-runtime" or such. |
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.
modulo a PR description, this looks good to me
@DirectXMan12 Done |
ks.Informer.AddEventHandler(internal.EventHandler{Queue: queue, EventHandler: handler, Predicates: prct}) | ||
return nil | ||
} | ||
|
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.
Thinking more about the code in the manager's main
fn, I am wondering if we need to add the concept of Source
being ready (in this case, informed being sync'ed) from the perspective of wiring everything. Will have to look at the code to reason more about it.
@droot for your comment above, is that a "I want to look at this pre-merge" or "I want to look at this post-merge" |
Oh, sorry, I wasn't clear. I meant "post-merge", so I am good with the change. |
/lgtm |
Support for client-go code generated controllers as Controller Watch …
Upgrading Kubebuilder and Core Only Controller docs
This is useful for projects that either: