You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Christoph Weiss <ch...@de.ibm.com> on 2022/09/26 16:27:20 UTC

Is there a versioning concept for Kamelets ?

Hi All,

Short question / just wondering:

From my understanding the link between an Integration and Kamelet CR is only done based on the “Kamelet name”.
There is no option to define within the Integration any additional version or filtering tag for a Kamelet.
Is my understanding correct?

Thanks for your help upfront.

Christoph


Re: Is there a versioning concept for Kamelets ?

Posted by Claudio Miranda <cl...@claudius.com.br>.
On Mon, Sep 26, 2022 at 1:27 PM Christoph Weiss
<ch...@de.ibm.com> wrote:
>
> From my understanding the link between an Integration and Kamelet CR is only done based on the “Kamelet name”.

Do you mean the KameletBinding ? If yes, then from the KameletBinding
you can navigate to the integration by looking at "status.selector"

k get KameletBinding/timed-greeter-binding -oyaml

selector: camel.apache.org/integration=timed-greeter-binding

From the Integration object you have labels and ownerReferences fields

  labels:
    camel.apache.org/created.by.kind: KameletBinding
    camel.apache.org/created.by.name: timed-greeter-binding
  name: timed-greeter-binding
  ownerReferences:
  - apiVersion: camel.apache.org/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: KameletBinding
    name: timed-greeter-binding

> There is no option to define within the Integration any additional version or filtering tag for a Kamelet.

You can add any label to the KameletBinding, that is propagated to the
integration object.

Please, elaborate, if I misunderstood your question.

-- 
  Claudio Miranda

claudio@claudius.com.br
http://www.claudius.com.br