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

Updates to objects used by Hub templates should trigger reconciles for a subset of clusters

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • GRC
    • None
    • GRC Sprint 2023-17, GRC Sprint 2023-18
    • No

      In the case where you have a hub template that is looking up a ManagedCluster object per cluster that the root policy applies to, it leads to a watch per cluster. If any of those ManagedCluster objects gets updated, it causes all propagated policies to get regenerated and compared with the existing replicated policies. In most cases, the same object is referenced for every cluster (like a single ConfigMap) so it's not much of an issue for that case.

      A separate controller in the Propagator should be divided out that just handles updates to propagated policies. This means that the watches should be per propagated policy as opposed to all root policies. Additionally, when a replicated policy is deleted or has its spec updated, this controller should handle it to avoid all replicated policies to be regenerated.

              jkulikau@redhat.com Justin Kulikauskas
              mprahl Matthew Prahl
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: