Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow ChildReconciler to manage resource in other namespaces (#236)
When listing candidate children, by default we limit the listing to resources in the same namespace as the parent for efficiency. Now a ChildReconciler may use the ListOptions method to return a custom set of []ListOption. This may use any list options available within controller runtime, including indexed fields. When used in conjunction with finalizers and WithConfig we should be able to manage child resources in other clusters (needs verification). Signed-off-by: Scott Andrews <andrewssc@vmware.com>
- Loading branch information
Showing
3 changed files
with
156 additions
and
1 deletion.
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
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