You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, a new revision created on every definition update. Revision numbers are simple increasing integers (v1, v2, v3...).
User can specify specific revision when using definition in component, trait, etc...
There are two practical problems with this approach:
Avoiding Breaking Changes
As a user I want to pin used version to the major. So that it will be automatically updated, but won't cause any breaking changes.
For example, I specify mycomponent@^1.2.0. When operator updates mycomponent to version 1.3.0, I will automatically get the new version. However, if the operator publishes a new version with breaking changes (2.0.0) I won't get it until explicitly update component to mycomponent@^2.0.0 with new properties.
Reproducible Deployments
Suppose I have Application manifest which uses mycomponent@v3 and mycomponent definition. Now I want to share my Application with third-party so that they can deploy it on their infrastructure. They apply mycomponent definition, but now they have mycomponent-v1 revision only and they have to update all applications and replace v3 with v1.
Should this be addressed by the spec? Or this is KubeVela specific issue? Are there known workarounds?
The text was updated successfully, but these errors were encountered:
Currently, a new revision created on every definition update. Revision numbers are simple increasing integers (v1, v2, v3...).
User can specify specific revision when using definition in component, trait, etc...
There are two practical problems with this approach:
Avoiding Breaking Changes
As a user I want to pin used version to the major. So that it will be automatically updated, but won't cause any breaking changes.
For example, I specify
mycomponent@^1.2.0
. When operator updatesmycomponent
to version1.3.0
, I will automatically get the new version. However, if the operator publishes a new version with breaking changes (2.0.0
) I won't get it until explicitly update component tomycomponent@^2.0.0
with new properties.Reproducible Deployments
Suppose I have Application manifest which uses
mycomponent@v3
andmycomponent
definition. Now I want to share my Application with third-party so that they can deploy it on their infrastructure. They applymycomponent
definition, but now they havemycomponent-v1
revision only and they have to update all applications and replacev3
withv1
.Should this be addressed by the spec? Or this is KubeVela specific issue? Are there known workarounds?
The text was updated successfully, but these errors were encountered: