-
Bug
-
Resolution: Done
-
Critical
-
camel-K-M3
-
None
-
False
-
False
-
Undefined
-
I have following KameletBinding
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
name: example
namespace: jbouska
spec:
sink:
ref:
apiVersion: messaging.knative.dev/v1beta1
kind: InMemoryChannel
name: example
source:
properties:
authorizationToken: xxx
ref:
apiVersion: camel.apache.org/v1alpha1
kind: Kamelet
name: telegram-source
This KameletBinding creates the following integration:
oc get integration example -o yaml | grep -A 5 flow
flows:
- from:
steps:
- to: knative:channel/example?apiVersion=messaging.knative.dev%2Fv1beta1&kind=InMemoryChannel
uri: kamelet:telegram-source?authorizationToken=xxx
traits:
After KameletBinding update the integration stays unchanged.
➜ ~ oc patch KameletBinding example -p '{"spec":{"sink":{"ref":{"name":"new_name"}}}}' #wait for couple of minutes {code:java} oc get integration example -o yaml | grep -A 5 flow flows: - from: steps: - to: knative:channel/example?apiVersion=messaging.knative.dev%2Fv1beta1&kind=InMemoryChannel uri: kamelet:telegram-source?authorizationToken=xxx traits: