Skip to content
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

Kamelets versioning or Kamelets Catalog definition #4395

Closed
squakez opened this issue May 19, 2023 · 2 comments · Fixed by #5807
Closed

Kamelets versioning or Kamelets Catalog definition #4395

squakez opened this issue May 19, 2023 · 2 comments · Fixed by #5807

Comments

@squakez
Copy link
Contributor

squakez commented May 19, 2023

As we've started some draft work [1] to think alternative distribution model for Kamelets Catalog, I think we can collect some feedback about the possibility to version Kamelets (and catalog), if that makes sense. Right now we don't have a native way to create a versioning for a given Kamelet, so the most immediate workaround is to use a naming convention and apply it manually (ie, timer-source_v1).

Let's collect feedback and comments on possible scenario around if and how we'd like to support versioning in Kamelets.

[1] #4350

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale due to 90 days of inactivity.
It will be closed if no further activity occurs within 15 days.
If you think that’s incorrect or the issue should never stale, please simply write any comment.
Thanks for your contributions!

@Exether
Copy link

Exether commented May 27, 2024

We definitely thought about this option (renaming kamelets in case of non compatible change), but it seemed unpractical for the following reasons:
Kamelet management:

  • It can be difficult to evaluate if a change needs to create a new version.
  • In case of a jar changes, several kamelets could require a name change.
  • This leads to a lot of duplication as we also need to keep the previous kamelets.
  • It will be difficult to tell if an old kamelet can be removed to keep the overall number low.

Routes and config management:

  • It requires all routes using this kamelet to be updated to use the new one.
  • It requires to change all the property names for this kamelet in all deployments.
  • There would be a risk to have several versions of the same library if we freeze older kamelets versions dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants