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


   I had a look, and as I suspected it's a bug. As a mitigation, while we fix 
it, you may create an external configmap with 2 entries, and use it from your 
Integration, ie:
   ```
   k create configmap my-cm --from-literal=test1.txt="test" 
--from-literal=test2.txt="test"
   kamel run --resource configmap:my-cm test.groovy --dev
   ```
   test.groovy
   ```
   from('file:/etc/camel/resources/my-cm/?noop=true&idempotent=false')
       .log('resource file content is: ${body} consumed from 
${header.CamelFileName}')
   ```


-- 
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