lburgazzoli commented on issue #4166: URL: https://github.com/apache/camel-k/issues/4166#issuecomment-1560502563
> These seems very much what we have today in camel-k-runtime catalog in the capabilities section, except there is no spring boot provider yet. > With one but quite relevant difference that instead of having camel-k knowing the properties to set, camel-k declares what properties it will set (if needed) when the trait is active and the runtime translates it into what it needs to materialize the requirement (in term of properties). > When I changed master trait to use camel-quarkus-kubernetes, I had to retrieve the resource type and name, from the build property, that change was not merged into camel-k, so there is no build time property to use in camel-k currently. https://github.com/claudio4j/camel-k/blob/502717d48fbe0e7d08c9e12d9a521ab571756cc8/addons/master/master.go#L172 > I think we could evaluate to have a dedicated extension in quarkus if it make sense, like camel-quarkus-master-kubernetes and have it enabled by default when the extension is added. I think as today it is disabled as the master component is part of the `camel-quarkus-kubernetes` extensions so enabling it by default would enable it for every integration. TL:DR; I believe we must have some better collaboration between the runtimes and camel-k as having camel-k keeping track of the runtime changes/needs is going to be challenging in the long term. > Perhaps extracts the capabilities logic from `GenerateCatalogMojo` (camel-k-maven-plugin) to make it easier to onboard other runtimes. > This whole thing should be moved to the runtime part, I don't expect to have the camel-k-runtime anymore but have a camel-k extension in quarkus , camel-k starter in spring boot and all the related runtime specific tooling (maven plugins, builder images, etc) -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
