This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dynamically create object reconcilers for new types.
This PR creates object reconciler(s) when new type(s) are added to the HNCConfiguration and informs the hierarchy reconciler about the new object reconciler(s). Specifically, it does the following tasks: - Dynamically creates an object reconciler when a new type is added in HNCConfiguration. - Informs the hierarchy reconciler about the newly added object reconciler so the corresponding objects can be propagated correctly when the hierarchy structure changes. Test: Verified on a GKE cluster that - When adding a new type in HNCConfiguration, corresponding object reconciler is created successfully. - When adding a new object of the same type to a node in the namespace tree, the object is propagated correctly to the descendants of the node. - When the tree structure changes (e.g., add another descendant to the node above), the new object of the same type is propagated correctly.
- Loading branch information
1 parent
772de09
commit 5f1b35e
Showing
7 changed files
with
189 additions
and
50 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
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
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
Oops, something went wrong.