-
-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better docs for
Controller::reconcile_on
The unstable method currently suggests that this method can be used to help share a store with the reconciler. This is actually nothing specific to `reconcile_on`, and you can do the same with the streams interface with `watches_stream`. We made the `reconcile_on` right before `watches_stream` became a thing so this makes sense. Have reworded the example to highlight that this has a better use-case with actually getting arbitrary third-party info, and then mapping that to kubernetes objects. First example that came to mind was using an IntervalStream with tokio and just cycle through a bunch of objects, but there may be a better example that does not pull in the extra dev dep. Signed-off-by: clux <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters