Hi Claudio, 

Yes, this was the piece I was looking for. 
Thanks a lot for clarifying and the links to the source code ! 

Cheers - Christoph 

-----Original Message-----
From: Claudio Miranda <clau...@claudius.com.br> 
Sent: Monday, 12 September 2022 21:42
To: users@camel.apache.org
Subject: [EXTERNAL] Re: kamel run - which component creates the Kubernetes CR ?

On Mon, Sep 12, 2022 at 11:21 AM Christoph Weiss <christoph.we...@de.ibm.com> 
wrote:
>
> Short question: I am wondering which “component” is creating the “Kubernetes 
> Integration CR” when running “kamel run” (based on a given Integration 
> written e.g. in groovy or any other DSL).

Hi, the kamel run creates the Integration CR (client side) 
https://github.com/apache/camel-k/blob/main/pkg/cmd/run.go#L496  

And the k8s client creates the CR in the cluster 
https://github.com/apache/camel-k/blob/main/pkg/cmd/run.go#L559  

Is this what you want ?

--
  Claudio Miranda

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

Reply via email to