Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-8473

Set a finalizer on ClusterManagementAddOn objects

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • ACM 2.11.0
    • None
    • GRC
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • GRC Sprint 2023-21, GRC Sprint 2023-22, GRC Sprint 2023-23, GRC Sprint 2024-07
    • No

      When GRC is disabled globally within ACM, all components, including the Policy Addon controller get deleted. This means that any finalizer cleanup the addon controller would normally do, doesn't have a chance to finish.

      The proposal is for the Policy Addon controller to add finalizers to the ClusterManagementAddOn objects associated with the policy addons when one or more managed cluster has the addon installed. The finalizer is removed when the policy addons are successfully cleaned up on all managed clusters.

      In addition, when the ACM installer (or something else) deletes the ClusterManagementAddOn, the Policy Addon controller should start uninstalling the associated addon. The finalizer removal would work as described above.

      ACM-6199 will track the installer work.

      Ideally, this would be added as a capability in the addon-framework library. If it's not possible, then custom logic in the Policy Addon controller will suffice.

              yikim@redhat.com Yi Rae Kim
              mprahl Matthew Prahl
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: