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

Design history support in OCM.io discovered policies

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Critical Critical
    • ACM 2.15.0
    • None
    • GRC
    • None
    • Quality / Stability / Reliability
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • GRC Sprint 2024-21, GRC Sprint 2024-23, GRC Sprint 2025-13
    • None

       See ACM-14827 for more context.

      We should also design to refactor the status-sync to use the policy statuses directly rather than Kubernetes events.

       

      mprahl's top of mind options:

      Store the last 10 compliance events to the status of each ConfigurationPolicy/CertificatePolicy/OperatorPolicy like we do for Policy.

        1. Benefits:
          1. Works with Discovered policies
          2. Allows the policy framework to move away from using Kubernetes events for status communication which occasionally leads to the Policy status being out of sync with the ConfigurationPolicy
          3. Similar experience to Policy
        1. Downsides:
          1. It requires that we have control over the CRD so it’d be specific to OCM-io policies.
        1.  

              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: