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/01/26 10:10:53 UTC

[GitHub] [camel-k] squakez commented on issue #2943: [regression] Cannot provide 2 resources with 1.8.0

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-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org