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

Operator Policy reports as compliant when it's not

XMLWordPrintable

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

      None

      Show
      None
    • False
    • GRC Sprint 2024-04
    • Moderate
    • No

      Description of problem:

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

      How reproducible:

      Steps to Reproduce:

      Part of the issue may have been that I used `name: gatekeeper-operator` instead of `name: gatekeeper-operator-product`.

      apiVersion: policy.open-cluster-management.io/v1
      kind: Policy
      metadata:
        name: case20-install-gk
        namespace: open-cluster-management-global-set
      spec:
        disabled: false
        policy-templates:
          - objectDefinition:
              apiVersion: policy.open-cluster-management.io/v1beta1
              kind: OperatorPolicy
              metadata:
                name: case20-install-gk
              spec:
                remediationAction: enforce
                severity: critical
                complianceType: musthave
                subscription:
                  channel: stable
                  name: gatekeeper-operator
                  namespace: openshift-operators
                  installPlanApproval: Automatic
                  source: redhat-operators
                  sourceNamespace: openshift-marketplace
      

      Actual results:

      Expected results:

      Additional info:

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

                Created:
                Updated:
                Resolved: