andy-d2019 opened a new issue, #5135:
URL: https://github.com/apache/camel-k/issues/5135
### What happened?
While the following Yaml Syntax:
```
- constructors:
'0': '{{influx-url}}'
'1': '{{influx-username}}'
'2': '{{influx-password}}'
factoryBean: org.influxdb.InfluxDBFactory
factoryMethod: connect
name: influxClient
type: org.influxdb.InfluxDB```
### Steps to reproduce
While the following Yaml Syntax:
```
- constructors:
'0': '{{influx-url}}'
'1': '{{influx-username}}'
'2': '{{influx-password}}'
factoryBean: org.influxdb.InfluxDBFactory
factoryMethod: connect
name: influxClient
type: org.influxdb.InfluxDB
```
Works perfectly fine when applied in a Camel Integration and runs with Camel
4.2.0 and the Camel-Runtime 3.6.0.
If it is used in a Kamelet, that is referenced in a Pipe, the Integration
that is executed on the cluster runs into a Yaml Parse Exception:
``` Caused by: Unsupported field: constructors
in
file:/etc/camel/kamelets/kamelets-bundle-influx-action-binding-001/write-influx-action.kamelet.yaml,
line 58, column 9```
The unsupported Field Exception will appear with any of the fields
factoryBean, factoryMethod and constructors, depending on the order they are
used in.
### Relevant log output
_No response_
### Camel K version
2.2.0 (Camel 4.2.0, Apache Camel K Runtime 3.6.0)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]