You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2019/10/24 23:12:41 UTC

[GitHub] [camel-k] nicolaferraro opened a new issue #662: Do not rebuild knative integrations when changing sink

nicolaferraro opened a new issue #662: Do not rebuild knative integrations when changing sink
URL: https://github.com/apache/camel-k/issues/662
 
 
   We should optimize trait management: distinguish build time traits from deployment time.
   
   I've 2 integrations, setting differently some Knative options.
   
   Case 1:
   ```
       Knative:
         Configuration:
           Channel - Sinks:     
           Channel - Sources:   
           Enabled:             true
           Endpoint - Sinks:    
           Endpoint - Sources:  default
   ```
   
   Case 2:
   ```
       Knative:
         Configuration:
           Channel - Sinks:     
           Channel - Sources:   camel
           Enabled:             true
           Endpoint - Sinks:    
           Endpoint - Sources:  default
   ```
   
   That's the only difference, they use the same libs.
   I run integration 1 and a context is built for it.
   
   I run integration 2 and a new context is built again.
   
   That's because traits explicitly set in the integration are reported into the context.
   But it does not make sense to create a new image, because the knative trait does not influence build time properties of the image.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services