Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-48088

ClusterLogNS.yaml ZTP source-cr is Missing the Monitoring Label

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 4.19.0
    • 4.14.z
    • GitOps ZTP
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          The ClusterLogNS.yaml source-cr is missing the openshift.io/cluster-monitoring label in the openshift-logging Namespace definition. Consequently no alerts fire when there are issues with the cluster-logging operator on a managed cluster.

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

          ztp-site-generate 4.14.5-14

      How reproducible:

          Always

      Steps to Reproduce:

          1. Create the openshift-logging namespace on a managed cluster by using the ClusterLogNS.yaml source-cr in a PolicyGenTemplate.
          2. Once the rendered policy is compliant, verify the namespace exists on the managed cluster and that the `openshift.io/cluster-monitoring: "true"` label is missing.
          

      Actual results:

          The label is not present on the namespace.

      Expected results:

          The label is present on the namespace.

      Additional info:

          

              imihai@redhat.com Irina Mihai
              scarlisl@redhat.com Sean Carlisle
              Dwaine Gonyier Dwaine Gonyier
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: