astefanutti commented on issue #2003:
URL: https://github.com/apache/camel-k/issues/2003#issuecomment-777557057


   I realise from https://github.com/apache/camel-k-runtime/pull/624, that any 
ConfigMap or Secret is (attempted to be) loaded as properties file.
   
   I'd agree with @lburgazzoli comment from 
https://github.com/apache/camel-k-runtime/issues/593:
   
   > I think the main issue is that we don't have a way to distinguish between 
configmaps and secrets used to store properties vs resources.
   
   It seems only application properties files should be mounted into the 
`conf.d` directory, while other ConfigMaps and Secrets should be mounted on the 
side. IIUIC, this is what would be for the `--config` and `--resource` options 
for.
   
   So currently, we have the ServiceBindings, ConfigMaps and Secrets mounted 
under the `conf.d` directory. Only the ConfigMaps and the Secrets added with 
the new `--config` option should be mounted there. The one added with the 
existing `--resource` should be mounted in `etc/camel/resources`. 
   
   That also means the existing `--configmap` and `--secret` options are 
removed.
   


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