kubevela/design/vela-core
Kanchan Dhamane bc15e5b359
Feat: Semantic versioning support for Definitions (#6648)
* feature: Add Semantic versioning to KubeVela Definitions

Fixes https://github.com/kubevela/kubevela/issues/6435
Fixes https://github.com/kubevela/kubevela/issues/6534

Changes:
- Adds an optional "Version" field for all Definition Specs.
- Adds the following new validations to Webhooks for Definitions:
	- Validate the "Version" field follows Semantic versioning.
	- Dis-allow conflicting versioning fields ( Name annotation, Spec.Version)
- Adds the following new validations to Webhooks for Application:
	- Dis-allow the use of both the "publishVersion" & "autoUpdate" annotations.
- Enahnce "multiStageComponentApply" feature to support auto updates.

Boy Scout Changes:
- Fixes Plugin e2e tests broken by the fix for 6534.
- Fixes the dryRun and livediff commands to respect the "-n" namespace flag.
- Fixes the Application ValidationWebhook to respect the "-n" namespace flag.

Co-authored-by: Rahul Kumar <35751394+bugbounce@users.noreply.github.com>
Co-authored-by: Chaitanya Reddy <chaitanyareddy0702@gmail.com>
Co-authored-by: Vibhor Chinda <vibhorchinda@gmail.com>
Co-authored-by: Shivin Gopalani <gopalanishivin@gmail.com>

Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com>

* feature: Add KEP to define the proposal

Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com>

* fix: Rebase and fix merge conflicts

Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com>

* Fix: Adds unit test cases

Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com>

---------

Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com>
Co-authored-by: bugbounce <35751394+bugbounce@users.noreply.github.com>
2025-02-03 11:09:28 +08:00
..
APIServer-Catalog.md Chore(docs): fix typos in design docs (#2053) 2021-08-09 19:59:38 +08:00
app_deployment.md fix tiny typo (#1480) 2021-04-14 10:56:33 +08:00
appfile-design.md Fix broken link 2020-12-05 23:50:09 +08:00
apply-once-only.md Chore(docs): fix typos in design docs (#2053) 2021-08-09 19:59:38 +08:00
apply-workload-and-trait.md Chore: update some docs to the new org url (#3792) 2022-04-29 15:59:29 +08:00
cloud-resource-data-passing.md Feat: add cloud resource data passing KEP (#5489) 2023-02-13 15:50:56 +08:00
componenttrait-composing-and-trait-CR-naming.md Chore: remove manualscaler (#4716) 2022-09-14 16:28:09 +08:00
definition-versioning.md Feat: Semantic versioning support for Definitions (#6648) 2025-02-03 11:09:28 +08:00
environment.md Style: rename multi-env to deploy2env (#2309) 2021-09-15 15:03:44 +08:00
migrate-from-oam-runtime.md Chore: remove manualscaler (#4716) 2022-09-14 16:28:09 +08:00
resourcetracker_design.md Fix: ControllerRevision typo (#3214) 2022-02-10 15:43:11 +08:00
restful-interface.md Chore(docs): fix typos in design docs (#2053) 2021-08-09 19:59:38 +08:00
rollout-design.md use corev1.ObjectReference insteadof crossplane-runtime TypedReference (#1974) 2021-07-28 13:59:13 +08:00
route.md use corev1.ObjectReference insteadof crossplane-runtime TypedReference (#1974) 2021-07-28 13:59:13 +08:00
sharding.md Feat: support sharding in controller (#5360) 2023-01-31 13:03:29 +08:00
shared-resource-1.png Feat: support shared resource (#4213) 2022-06-24 10:56:27 +08:00
shared-resource-2.png Feat: support shared resource (#4213) 2022-06-24 10:56:27 +08:00
shared-resource.md Feat: support shared resource (#4213) 2022-06-24 10:56:27 +08:00
vela-core-sharding-arch.jpg Feat: support sharding in controller (#5360) 2023-01-31 13:03:29 +08:00
workflow_policy.md Feat: support step group with substep in the workflow (#3772) 2022-05-23 10:26:21 +08:00