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

ACM PolicyGenerator ignorePending flag is ignored when using PolicyGenerator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • ACM 2.9.0
    • None
    • GRC
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • GRC Sprint 2023-10, GRC Sprint 2023-15
    • Moderate
    • No

      Description of problem:

          It seems we have bug where if you have consolidateManifests: true , which is      the default, the ignorePending flag is ignored.

         See here how it should be set:
         https://github.com/open-cluster-management-io/policy-generator-plugin/blob/main/docs/policygenerator-reference.yaml#L83

      Version-Release number of selected component (if applicable):

      How reproducible:

      ACM 2.8 using this example:
      https://raw.githubusercontent.com/ch-stark/gatekeeper-examples/main/policyGenerator.yaml

      Steps to Reproduce:

      1. create Application with Policygenerator to generate Policies at runtime using the setting
      2. observe the property is not applied to the created policy
      3. ...

      Actual results:

      Expected results:

      Additional info:

              rh-ee-dhaiduce Dale Haiducek
              rhn-support-cstark Christian Stark
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: