You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/05/17 05:44:00 UTC
[jira] [Assigned] (CAMEL-19361) camel-jbang - Parse trait.camel.apache.org/camel.properties from KameletBinding
[ https://issues.apache.org/jira/browse/CAMEL-19361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-19361:
-----------------------------------
Assignee: Claus Ibsen
> camel-jbang - Parse trait.camel.apache.org/camel.properties from KameletBinding
> -------------------------------------------------------------------------------
>
> Key: CAMEL-19361
> URL: https://issues.apache.org/jira/browse/CAMEL-19361
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang, camel-yaml-dsl
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
>
> In case you configurations defined via a trait in KameletBinding
> (argh Camel K has so many small secrets to configure stuff instead of standard Camel with application.properties)
> {code}
> apiVersion: camel.apache.org/v1alpha1
> kind: KameletBinding
> metadata:
> name: sample
> annotations:
> trait.camel.apache.org/camel.properties: "camel.main.tracing=true"
> spec:
> source:
> ref:
> kind: Kamelet
> apiVersion: camel.apache.org/v1alpha1
> name: timer-source
> properties:
> period: 5000
> contentType: application/json
> message: '{"id":"1","field":"hello","message":"Camel Rocks"}'
> steps:
> - ref:
> kind: Kamelet
> apiVersion: camel.apache.org/v1alpha1
> name: extract-field-action
> properties:
> field: "field"
> sink:
> ref:
> kind: Kamelet
> apiVersion: camel.apache.org/v1
> name: log-sink
> properties:
> show-headers: false
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)