-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
-
Product / Portfolio Work
-
None
-
False
-
-
None
-
None
-
None
-
-
None
-
None
-
None
-
None
-
None
Description of problem:
Camel K has moved from v1alpha1.KameletBinding to v1.Pipe resources. The Dev Console topology view needs to display Camel K Pipe resources in the same way as KameletBinding resources. The topology view has a special logic to display KameletBindings that act as event sources and sinks on the Knative message broker. The KameletBinding resource is displayed with its individual icon and it connects to the Knative resource.
Version-Release number of selected component (if applicable):
How reproducible:
Create a Pipe resource that connects to a Knative resource (e.g. broker) and see how it gets displayed compared to a KameletBinding resource
Steps to Reproduce:
1. create a Knative broker
2. apply Camel K Pipe resource that connects to the broker
3. apply Camel K KameletBinding resource that connects to the broker
4. review the topology view and how the resources are displayed
Actual results:
The Pipe resource is not present on the topology view and there is no connection to the Knative resource (e.g. broker).
Expected results:
Display the Pipe in the same way as a KameletBinding and connect the Pipe to the Knative resource. Do this for event source Pipes and event sink Pipes.
Additional info:
Sample event source Pipe:
apiVersion: camel.apache.org/v1
kind: Pipe
metadata:
name: timer-source-pipe
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1
name: timer-source
properties:
period: 5000
message: Hello from timer-pipe!
sink:
ref:
kind: Broker
apiVersion: eventing.knative.dev/v1
name: default
Sample event source KameletBinding:
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
name: timer-source-binding
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1
name: timer-source
properties:
period: 5000
message: Hello from timer-pipe!
sink:
ref:
kind: Broker
apiVersion: eventing.knative.dev/v1
name: default
Sample event sink Pipe:
apiVersion: camel.apache.org/v1
kind: Pipe
metadata:
name: log-sink-pipe
spec:
source:
ref:
kind: Broker
apiVersion: eventing.knative.dev/v1
name: default
sink:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1
name: log-sink
Sample event sink KameletBinding:
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
name: log-sink-pipe
spec:
source:
ref:
kind: Broker
apiVersion: eventing.knative.dev/v1
name: default
sink:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1
name: log-sink
screenshots: https://drive.google.com/drive/folders/1ldFhlpaQy-Jdq3Pn5aDzOgW5E8dRUlwg?usp=drive_link
This is the one how it should look like: https://drive.google.com/file/d/1QrHYx4g0H2t0MkpBrlaqffMJHWhtuRGl/view?usp=drive_link