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

   Camel K property setting via `kamel run -p` option is an helper provided in 
the CLI. If the user has multiple keys with the same value, then, it's 
something up to the user to know and prevent.
   
   "Using Kubernetes property placeholder functions" is a feature available 
generically in any runtime using `camel-kubernetes` component. I think that, in 
order to use it, you need to provide the dependency `-d camel:kubernetes` and 
the required configuration for the application to connect to the cluster [1] 
via properties.
   
   However, from a deployment point of view, this may not be the best scenario 
when managing the application via Camel K operator. Going through that 
scenario, the application would require to connect to Kubernetes via REST API 
every time it uses the value, instead of using the native mechanics you can get 
mounting the configmap/secrets via the operator.
   
   [1] 
https://camel.apache.org/manual/using-propertyplaceholder.html#_configuring_kubernetes_client


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