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

Installing Builds by using the CLI section is incomplete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.21
    • Documentation / Build
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The section on how to install from CLI is missing information    

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

         1.5

      How reproducible:

          Always

      Steps to Reproduce:

          1. Follow the steps in Installing Builds by using the CLI 
          

      Actual results:

      The namespace openshift-builds doesn't exist by default, so the subscription creation will fail. In case it existed, the OperatorGroup is not part of the example and the subscription won't install the operator without it.

      Expected results:

         The example includes the yaml files for the namespace and the operatorgroup.

      Additional info:

      Below yaml worked for me.

      apiVersion: v1
      kind: Namespace
      metadata:
        name: openshift-builds
      ---
      apiVersion: operators.coreos.com/v1
      kind: OperatorGroup
      metadata:
        name: openshift-builds-operator
        namespace: openshift-builds
      spec:
        upgradeStrategy: Default
      ---
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: openshift-builds-operator
        namespace: openshift-builds
      spec:
        channel: latest
        name: openshift-builds-operator
        source: redhat-operators
        sourceNamespace: openshift-marketplace

              joaedwar@redhat.com Joan Edwards
              mavazque@redhat.com Mario Vazquez Cebrian
              None
              Vicente Zepeda Mas
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: