Version: v1.2
Version Control for Definition
When the capabilities(Component or Trait) changes, KubeVela will generate a definition revision automatically.
- Check ComponentDefinition Revision
- Check TraitDefinition Revision
The best way to control version is using a new name for every definition version.
#
Specify Component/Trait Capability Revision in ApplicationUsers can specify the revision with @version
approach, for example, if a user want to stick to using the v1
revision of webservice
component.
System admin can also write a webhook to inject the version automatically.
In this way, if system admin changes the ComponentDefinition, it won't affect your application.
If no revision specified, KubeVela will always use the latest revision when you upgrade your application.