OlegSkr opened a new issue, #3923: URL: https://github.com/apache/camel-k/issues/3923
When trying to use "--config" property with kamel version > 1.10 it comes to following error in integration: "**Error: Integration.camel.apache.org is invalid: spec.traits.mount.configuration: Required value**" ``` user@rancher1:~/test$ ls -l total 8 -rw-rw-r-- 1 user user 25 Dec 16 14:43 application.properties -rw-rw-r-- 1 user user 128 Dec 16 14:42 test.yaml user@rancher1:~/test$ cat test.yaml - from: uri: direct:start steps: - set-body: simple: "Hello world!" - to: uri: log:info user@rancher1:~/test$ cat application.properties logging.level.root=DEBUG user@rancher1:~/test$ kamel version Camel K Client 1.10.3 user@rancher1:~/test$ kamel run --dev --config file:application.properties -n camel-k-110 test.yaml Integration "test" created Error: Integration.camel.apache.org "test" is invalid: spec.traits.mount.configuration: Required value user@rancher1:~/test$ kamel run --config file:application.properties test.yaml -n camel-k-110 -o yaml | tail - set-body: simple: Hello world! - to: uri: log:info uri: direct:start traits: mount: configs: - configmap:cm-2e138a524b3aa931f30ed2b1c525fef032fd617d/application.properties@/etc/camel/conf.d/_resources/application.properties status: {} user@rancher1:~/test$ ~/kamel-1.8.2/kamel run --config file:application.properties test.yaml -n camel-k-110 -o yaml | tail You're using Camel K 1.8.2 client with a 1.10.3 cluster operator, it's recommended to use the same version to improve compatibility. simple: Hello world! - to: uri: log:info uri: direct:start traits: mount: configuration: configs: - configmap:cm-2e138a524b3aa931f30ed2b1c525fef032fd617d/application.properties@/etc/camel/conf.d/_resources/application.properties status: {} ``` Workaround is to output the integration into yaml file, move "configs" array under "spec.traits.mount.configuration" and do "kubectl apply" -- 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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org