-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PodSpecable Integration #2096
Comments
In the case of Service Binding, the specification has alleviated that constraint |
Would that simplify or not to have Integration PodSpec-able w.r.t. Service Binding? |
I can look at this. |
@astefanutti @nicolaferraro wonder if when making making an integration podspecable (but I think also other resources like the kamelet binding can benefit from it), then if I define an image with name "integration" (or whatever we decide to use to identify the integration container), that should be considered as an equivalent of a kit so in that case, no build should be performed |
@lburgazzoli that sounds logical. There is no need for creating a build whose resulting image is overwritten by the Integration PodSpec. That can lead to inconsistencies, e.g. with the Dependencies field. Though Pod-Specability is a mechanism that brings high-level of configurability, hence must be used responsibly. An idea, if we try to map the logic of merging rather than replacing, to container images, could be to use the provided image as the base image? |
Yeah, sounds interesting, but I guess the image at the moment misses the relevant metadata (e.g. list of dependencies included) to let us perform merging. Although containers have labels as well... |
Right, probably better to keep it simple! |
We can add validations so i.e. if you put a container image and dependencies, then we fail |
Currently I've created a pod trait that will merge the |
wip PR: #1861 so far without any validations |
In a growing number of use-cases, it is preferable, or expected, that the Integration resource be PodSpecable.
The main use cases are:
It is also useful in the general case, to enable the generic configuration of the Integration pods: #1657.
The text was updated successfully, but these errors were encountered: