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

platform-operators-aggregated ClusterOperator manifest should not declare a namespace

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Normal
    • 4.15.0
    • 4.15
    • OLM
    • None
    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

    Description

      Description of problem:

      Cluster-scoped resources do not need (or want) metadata.namespace defined. Currently the platform-operators-aggregated ClusterOpreator manifest requests a namespace, but that request should be dropped to avoid confusing human and robot readers.

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

      At least 4.15. I haven't dug back to count previous 4.y.

      How reproducible:

      100%

      Steps to Reproduce:

      $ oc adm release extract --to manifests quay.io/openshift-release-dev/ocp-release:4.15.0-ec.1-x86_64
      grep -r5 platform-operators-aggregated manifests/ | grep namespace:
      

      Actual results:

      manifests/0000_50_cluster-platform-operator-manager_07-aggregated-clusteroperator.yaml-  namespace: openshift-platform-operators
      

      Expected results:

      No hits.

      Attachments

        Activity

          People

            trking W. Trevor King
            trking W. Trevor King
            Jian Zhang Jian Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: