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

[doc] the ClusterExtension examples lack of the `spec.installNamespace` field

XMLWordPrintable

    • Important
    • No
    • 1
    • OSDOCS Sprint 255
    • 1
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

      https://docs.openshift.com/container-platform/4.16/operators/olm_v1/arch/olmv1-operator-controller.html

      There are 4 examples, and all of them lack the required field: `spec.installNamespace`

      apiVersion: olm.operatorframework.io/v1alpha1
      kind: ClusterExtension
      metadata:
        name: <operator_name>
      spec:
        packageName: <package_name>
        channel: <channel_name>
        version: <version_number>
      
      apiVersion: olm.operatorframework.io/v1alpha1
      kind: ClusterExtension
      metadata:
        name: pipelines-operator
      spec:
        packageName: openshift-pipelines-operator-rh
        channel: latest 
      
      apiVersion: olm.operatorframework.io/v1alpha1
      kind: ClusterExtension
      metadata:
        name: pipelines-operator
      spec:
        packageName: openshift-pipelines-operator-rh
        version: 1.11.1 
      
      apiVersion: olm.operatorframework.io/v1alpha1
      kind: ClusterExtension
      metadata:
        name: pipelines-operator
      spec:
        packageName: openshift-pipelines-operator-rh
        version: >1.11.1

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

       

      How reproducible:

      always

      Steps to Reproduce:

      1. Install an clusterextension by following this doc.
      

      Actual results:

      Failed at:

      jiazha-mac:~ jiazha$ oc create -f ce-pipeline-1.11.yaml 
      The ClusterExtension "pipelines-operator-1.11" is invalid: spec.installNamespace: Required value

      Expected results:

      Should add the required field: `spec.installNamespace`

      Additional info:

       

              rhn-support-mipeter Michael Peter
              rhn-support-jiazha Jian Zhang
              Jian Zhang Jian Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: