-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Enable adding and removing watches at runtime. #246
Comments
/kind feature |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
I believe we support this now, closing. |
Generate correct CRD primitive types
How can one actually do this (i.e. dynamically add and remove watches?) If I understand correctly, I can dynamically add a watch by calling controller.Watch() from within the reonciler. How can one remove the watch once it is no longer needed? |
Gentle ping -- still looking for an answer to my question above. @DirectXMan12 is this something you could help out with? |
It would be great if there was a way to add and remove watches during the controller lifecycle.
Use case: want to be able to get some data from a user-supplied secret, instead of inline:
secretSource
is specified, we want to add a watch for it so we can reconcile when it changes (likely have to provide a customhandler.EventHandler
to reconcile the correct object(s)).The text was updated successfully, but these errors were encountered: