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

Add status.observedGeneration to OperatorPolicy

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • ACM 2.12.0
    • None
    • GRC
    • GRC Sprint 2024-14
    • None

      As part of the ArgoCD health checks for OperatorPolicy in ACM-12570, we need to know if the compliance message in OperatorPolicy is based on the latest spec for ArgoCD sync waves to work. Let's add a `status.observedGeneration` similar to ConfigurationPolicy's `status.lastEvaluatedGeneration` for the ArgoCD health check to mark the OperatorPolicy as progressing if the current generation doesn't match the `status.observedGeneration`. `status.observedGeneration` is a more common field name in Kubernetes which is why this is the recommended name.

              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: