You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/12/17 10:06:35 UTC
[GitHub] [camel-k] OlegSkr commented on issue #3923: --config property by kamel > 1.10: Errror spec.traits.mount.configuration: Required value
OlegSkr commented on issue #3923:
URL: https://github.com/apache/camel-k/issues/3923#issuecomment-1356150939
@squakez the name of the file doesn't matter
It happens with anything added through --config or --resource, and no matter whether it is "file", or "configmap".
```
user@rancher1:~/test$ mv application.properties anything.else
user@rancher1:~/test$ kamel run --dev --config file:anything.else -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:anything.else -n camel-k-110 test.yaml -o yaml | tail
- set-body:
simple: Hello world!
- to:
uri: log:info
uri: direct:start
traits:
mount:
configs:
- configmap:cm-3e2f97c66ad51802240d16a50e642a38cb40a196/anything.else@/etc/camel/conf.d/_resources/anything.else
status: {}
user@rancher1:~/test$ kamel run --resource file:anything.else -n camel-k-110 test.yaml -o yaml | tail
- set-body:
simple: Hello world!
- to:
uri: log:info
uri: direct:start
traits:
mount:
resources:
- configmap:cm-3e2f97c66ad51802240d16a50e642a38cb40a196/anything.else@/etc/camel/resources/anything.else
status: {}
```
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org