-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This replaces the typed object (`HelmRelease`-specific) code with using `unstructured.Unstructured`. This has a few repercussions: - watches have to be particular to the kind; - the target status has to be calculated from an unstructured.Unstructured (arbitrary object), rather than specific Flux API types. The first one means I have to introduce some bookkeeping, so that event handlers are only installed once. I've done this with a map of GVK->handle per cluster. The handle will be handy (handley?) later, for unregistering event handlers when no longer needed. The tests still need to register APIs in the scheme, so they can use Go types for those APIs; but, the dynamic client used in the machinery doesn't need it. Signed-off-by: Michael Bridgen <[email protected]>
- Loading branch information
Showing
9 changed files
with
1,970 additions
and
68 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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.