lancerdima opened a new issue #1881:
URL: https://github.com/apache/camel-k/issues/1881


   Using #1750 as a reference.
   
   ### Problem
   I am attaching binary resource (with `--resource`) to the integration and 
expecting it to appear in the container as a resource.
   Original file size: 6733 bytes (binary, zip archive in its essence).
   Executing command: `kamel run --dev --resource account.adm Integration.java`.
   Result: reviewing pod, I see that the attached resource file size is 12255, 
thus corrupted, integration is unusable.
   
   Attempts adding `--compression=true` flag (ar per #1750 suggestion) yields 
raw base64 text file in attached pod resource, that is unusable as a) it is 
base64, not binary, b) there is an extra compression applied on top of the file.
   
   Using `kamel version` -> 1.3.
   
   Also wondering, whether there is currently a way to attach resource to 
camel, directly from self-created configMap?
   


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

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


Reply via email to