ammachado opened a new issue, #3347:
URL: https://github.com/apache/camel-k/issues/3347

   I'm using `kamel run --dev` to test my integration.  All my configurations 
are on a config map on the cluster.
   
   My integration declares a config `modeline` using a configmap.
   
   The first time I run `kamel run --dev Integration.java` the configuration is 
loaded from the configmap.  I can change the code and changes are reflected on 
the integration without any issue.
   
   However, if I make any change on the configmap and try to either reload the 
integration by making a code change or by hitting `Ctrl+C` and running `kamel 
run --dev Integration.java` again, the changes on the configmap are not 
reflected in the integration.
   
   The only way to reflect the changes is either create a new configmap and 
change the modeline to the new configmap or deleting everything (the 
integration and the integrationkit) from the cluster.
   
   Is this the expected behavior?
   
   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.


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

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

Reply via email to