claudio4j commented on PR #5807:
URL: https://github.com/apache/camel-k/pull/5807#issuecomment-2325203813

   This implementation is not compatible with camel core (as documented), not 
only for Kamelets, but also for the Pipe, since there is an additional version 
field in the endpoint uri. With this solution Camel K sets an additional 
divergent element from camel core. So with this implementation a `camel run 
route.yaml` would not be possible.
   Also inlining the kamelets in the versions field, requires more yaml 
editing, making harder to maintain a bigger yaml file. kamelets should be 
simple, but adding the versions adds complexity to it.
   
   Probably an alternative solution is to add support for labels in the 
metadata, for example: `camel.apache.org/kamelet.version: "v1" ` , but this 
won't solve the naming problem, as it will duplicate the object name, having 
the differentiator in the metadata only.
   
   I would say that having a different name (as explained in the linked issue) 
would be easier to control the old kamelet names, or having a different 
namespace to have the different versions. 


-- 
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]

Reply via email to