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

Remove InstallPlan history from OperatorPolicy

XMLWordPrintable

    • GRC Sprint 2024-09, GRC Sprint 2024-10
    • No

       Initially, it seemed like a good idea for the operator policy to report about all of the relevant InstallPlans of an operator: these resources are left on the cluster deliberately by OLM to provide some sense of a version history. However, this leads to two problems:

      1. There is not a clear compliance value to be assigned to previous InstallPlans, which can be confusing to users.
      2. The labels and references on InstallPlans to determine what Subscription it is for are not consistent (see OLM issue 3199) meaning the objects that OperatorPolicy can find and record may be inconsistent, incomplete, or irrelevant.

      Recording only the current InstallPlan (found via a label that seems to be consistently applied and updated by OLM) will be more reliable, and allows the object to be reported as either Compliant or NonCompliant.

              jkulikau@redhat.com Justin Kulikauskas
              jkulikau@redhat.com Justin Kulikauskas
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: