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

Load Kamelets as event sources/sinks from custom Camel K operator namespace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 4.12
    • Dev Console
    • No
    • ODC Sprint 241
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-7416. The following is the description of the original issue:

      Description of problem:

      ODC automatically loads all Camel K Kamelets from openshift-operators namespace in order to display those resources in the event sources/sinks catalog. This is not working when the Camel K operator is installed in another namespace (e.g. in Developer Sandbox the Camel K operator had to be installed in camel-k-operator namespace)

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

      4.12

      How reproducible:

      Display event sources/sinks catalog in ODC on a cluster where Camel K is installed in a namespace other than openshift-operators (e.g. Developer Sandbox)

      Steps to Reproduce:

      1. Make sure to have a cluster where Knative eventing is available
      2. Install Camel K operator in camel-k-operator namespace (e.g. via OLM)
      3. Display the event source/sink catalog in ODC
      

      Actual results:

      No Kamelets are visible in the catalog

      Expected results:

      All Kamelets (automatically installed with the operator) should be visible as potential event sources/sinks in the catalog

      Additional info:

      The Kamelet resources are being watched in two namespaces (current user namespace and global operator namespace. https://github.com/openshift/console/blob/master/frontend/packages/knative-plugin/src/hooks/useKameletsData.ts#L12-L28
      
      We should allow configuration of the global namespace or also add camel-k-operator namespace as 3rd place to look for installed Kamelets.

            viraj-1 Vikram Raj
            openshift-crt-jira-prow OpenShift Prow Bot
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: