Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-15114

Integration is not updated after KameletBinding change

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • camel-K-M3
    • camel-K-M3
    • Camel-K
    • None

    Description

      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:

      Attachments

        Activity

          People

            nicolaferraro Nicola Ferraro (Inactive)
            jbouska@redhat.com Jan Bouska
            Jan Bouska Jan Bouska
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: