squakez commented on issue #3937:
URL: https://github.com/apache/camel-k/issues/3937#issuecomment-1359403750

   > @squakez how is this from my kamelet binding?
   > 
   > ```yaml
   > ...
   >   sink:
   >     ref:
   >       kind: Kamelet
   >       apiVersion: camel.apache.org/v1alpha1
   >       name: mmk
   >     properties:
   >       kdtable: my asd value in KameletBinding (1)
   > ```
   > 
   > (1) not enough, please?
   > 
   
   The problem is that such a property is not going to be included in the 
application properties, or, better said, it is going to end up in an 
application properties as something like `kamelet.mmk.kdtable=value`. According 
to your local execution, you need it to be a plain property.
   
   > My goal would be to set this property (for the Processor, which takes it 
from the Kamelet def, which should take it from the binding).
   > 
   > How can I do that property configuration from inside a kameletbinding yaml 
file, please?
   
   You can use the annotation I've provided in the previous comment as 
explained in 
https://camel.apache.org/camel-k/1.11.x/kamelets/kamelets-user.html#_trait_via_annotations


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to