lburgazzoli commented on issue #2232:
URL: https://github.com/apache/camel-k/issues/2232#issuecomment-846988399


   Thinking a little bit about this:
   
   - We may not need to add an `integration.sources-mode` but we could probably 
add an option to set the location of the source on to the source definition, 
like:
   
   ```yaml
   spec:
       sources:
       - location: "{{env.CAMEL_K_SOURCES}}/routes.yaml"
   ```
   
   - for what concern the container images, as we have a `pod` trait now so we 
may add an additional option there, like:
   
   ```
   kamel run -t pod.integration-image=foo/bar:1.0.0
   ```
   
   - for what concern the `kamelets` we may add an option to the related trait 
to list embedded kamelets that the operator should not attempt to look up from 
k8s
   
   ```
   kamel run -t kamelets.embedded=foo,bar,baz
   ```


-- 
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:
[email protected]


Reply via email to