-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a finalizer on the InternalHubComponent
In some uninstallation situations, the finalizers on Policies and ConfigurationPolicies were not always resolved before the addons and the addon-controller were stopped. This resulted in resources and namespaces being stuck, and could cause issues during a re-install. Now, this addon-controller will manage a finalizer on the "grc" InternalHubCluster, to prevent the addon-controller from being stopped while policy ManagedClusterAddOns still exist. When the InternalHubComponent is present, anything that creates a ManagedClusterAddOn for this controller must ensure that they are deleted when the InterrnalHubComponent is deleted. This can be done with OwnerReferences. In RHACM, the klusterlet-addon-controller will do this. Refs: - https://issues.redhat.com/browse/ACM-14707 Signed-off-by: Justin Kulikauskas <[email protected]>
- Loading branch information
1 parent
599b1ad
commit 87924b2
Showing
11 changed files
with
435 additions
and
173 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
Oops, something went wrong.