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

   Just tested this successfully. I've created an Integration with a modeline 
configmap, and run it, having:
   ```
   ....
   [1] 2022-07-13 11:02:57,477 INFO  [configmap] (Camel (camel-1) thread #1 - 
timer://configmap) configmap content is: configmap content
   ...
   ```
   In parallel I've changed the content of the configmap, and, as expected, the 
Integration won't automatically pick those new values (no hot deploy on 
configmap changes). However, stopping and restarting the application, triggered 
the change as expected:
   ```
   ....
   [1] 2022-07-13 11:03:24,448 INFO  [configmap] (Camel (camel-1) thread #1 - 
timer://configmap) configmap content is: configmap content 2
   ....
   ```
   > When kamel run --dev Integration.java is running a pod is created on the 
cluster. For the sake of curiosity, I inspected the YAML of the pod and there 
isn't a volume mount for the configmap, but it is present when you run the 
integration without the --dev parameter.
   
   The `Pod` spec should be exactly the same. I've just checked in the `--dev` 
mode and it mounts the configmap as expected.
   
   I'm closing this in favor of the feature request for configmap hot deploy.


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