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

Need to mention -n openshift-marketplace while verifying CatalogSource resources were successfully installed

XMLWordPrintable

    • No
    • 0
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

         While Configuring [A] OCP cluster to use the resources generated by oc-mirror we apply below commands:
      ~~~
      $ oc apply -f ./oc-mirror-workspace/results-1639608409/
      ~~~
      
      And to verify that the CatalogSource resources were successfully installed or not we don't need to mention --all-namespace instead we can mention -n openshift-marketplace because 
      
      ~~~
      $ oc get catalogsource --all-namespaces
      ~~~
      
      In results-1639608409 catalogsource always point to namespace openshift-marketplace
      ~~~
      $ cat oc-mirror-workspace/results-1639608409/*operator-index.yaml | grep namespace
        namespace: openshift-marketplace
      ~~~
      
      A. https://docs.openshift.com/container-platform/4.11/installing/disconnected_install/installing-mirroring-disconnected.html#oc-mirror-updating-cluster-manifests_installing-mirroring-disconnected

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

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          $ oc get catalogsource -n openshift-marketplace 

      Expected results:

          

      Additional info:

          

              rhn-support-stevsmit Steven Smith
              rhn-support-bshaw Bikash Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: