You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
nicolaferraro
changed the title
Optimize trait management: distinguish build time traits from deployment time
Do not rebuild knative integrations when changing sink
Oct 9, 2019
It happens that when I change sink of a knative integration, the kit is rebuilt because the Knative trait configuration is contained in the kit. But it should not..
Still present, but not on pure camel k but in knative sources. I.e. when tre knative trait config is filled-in and not computed automatically by the camel k operator.
We should optimize trait management: distinguish build time traits from deployment time.
I've 2 integrations, setting differently some Knative options.
Case 1:
Case 2:
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.
The text was updated successfully, but these errors were encountered: