Open matzew opened 1 month ago
I think it would be great if that meta information that is helpful for debugging could be already hardcoded into the controller, much like the image tag/hash for each runtime kamelet-based source image is hardcoded in the controller. This way, the controller can add it directly to the status without inspecting the running image during runtime. This would be much simpler and work, even when the runtime image does not come up for some reason.
Besides the version, I could imagine also adding information like the Maven coordinates of the underlying Camel component (or, if we want to go fancy, some URL pointing to the documentation of the schema/Kamelet)
One big issue is, that for running sources/sinks, you would have to update all of those.
Perhaps there is different way of exposing this information. Perhaps we have global annotation of the Camel runtime, eg on Eventing controller
IMO not to pressing, since each pod will log the version anyways
It would be nice to somehow receive the version of the runtimes, so that (eventually) the controller could stash this information on the
.status
of each CR