Releases: kubevela/kubevela
v1.6.8
What's Changed
- [Backport release-1.6] Fix: the --cluster not work when enable addon by @github-actions in #5341
- [Backport release-1.6] Fix: optimize skip reconcile and expose error if the traits patch an invalid workload like terraform by @github-actions in #5340
- [Backport release-1.6] Fix: conflict while using gc policy and shared-resource policy concurrently (#5330) by @Somefive in #5338
- Chore: update workflow version to fix panic by @FogDong in #5391
- Fix: cherry pick 5404 to 1.6 by @wangyikewxgm in #5409
- Fix: Backport #5275 to release-1.6 by @suwliang3 in #5559
- [Backport release-1.6] Fix: replication example componentdefinition miss workload field for … by @github-actions in #5617
- [Backport release-1.6] Fix: stores workflow status in revison if it is restarted (#5604) by @FogDong in #5672
How to install
Install Vela Core by Using Vela CLI
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.6.8
vela install -v 1.6.8
Install Vela Core by Using Helm:
helm repo add kubevela https://charts.kubevela.net/core
helm repo update
helm install --create-namespace -n vela-system kubevela kubevela/vela-core --version 1.6.8 --wait
Install VelaUX addon
vela addon enable velaux --version=v1.6.6
How to upgrade from old version?
Refer to the docs( https://kubevela.net/docs/platform-engineers/system-operation/migration-from-old-version ) if you're migrating from older versions.
Upgrade by using Vela CLI
The install command will also handle the upgrade automatically:
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.6.8
vela install -v 1.6.8 -r
Upgrade by using Helm
- Upgrade the CRDs, please make sure you upgrade the CRDs first before upgrade the helm chart.
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.6/charts/vela-core/crds/core.oam.dev_applicationrevisions.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.6/charts/vela-core/crds/core.oam.dev_applications.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.6/charts/vela-core/crds/core.oam.dev_resourcetrackers.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.6/charts/vela-core/crds/core.oam.dev_componentdefinitions.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.6/charts/vela-core/crds/core.oam.dev_definitionrevisions.yaml
- Upgrade your kubevela chart
helm repo add kubevela https://charts.kubevela.net/core
helm repo update
helm upgrade -n vela-system --install kubevela kubevela/vela-core --version 1.6.8 --wait
- Download the new CLI and enable velaux
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.6.8
vela addon enable velaux
Upgrade VelaUX
vela addon upgrade velaux --version=v1.6.6
Full Changelog: v1.6.7...v1.6.8
v1.8.0-alpha.3
What's Changed
New Features
- Feat: Add Request and Limit metrics to vela status --metrics by @Hanmengnan in #5546
- Feat: add op.#Suspend and suspending phase in step by @FogDong in #5567
Minor Updates
- Feat: default enable multi-stage apply by @Somefive in #5530
- Feat: add more information about resource in vela top's topology view by @Hanmengnan in #5577
- Feat: upgrade cluster-gateway to use v1.8.0-alpha.3 by @Somefive in #5593
- Feat: enhance the SDK, fix generating bugs by @chivalryq in #5586
- Feat: add feature gate to allow disable cluster watch at the start of vela-core by @Somefive in #5632
- Fix: add addon registry by @suwliang3 in #5646
Performance Enhancement
- Feat: optimize list operation for resourcetracker and applicationrevision by @Somefive in #5572
- Feat: support direct connection mode for cluster gateway by @Somefive in #5595
- Feat: remove loop reduction & filter unnecessary apprev update by @Somefive in #5598
- Feat: optimize empty patch request by @Somefive in #5600
Code Fixes
- Fix: swagger DateType by @yueyongyue in #5563
- Fix: createTime and LoginTime wrong for login information by @caiqi1111 in #5535
- Fix: The resource topology fails to display the pods under the job #5566 by @msun1996 in #5568
- Fix: the array type cannot be converted to interface type by @nuclearwu in #5578
- Fix: length of name should be less than 32 by @caiqi1111 in #5547
- Fix: render addon application checkDeployClusters invalid by @zhaohuiweixiao in #5555
- Fix: stores workflow status in revison if it is restarted by @FogDong in #5604
Code & Doc Refactor
- Docs: correct the doc of recycle application env api by @zhanghw0354 in #5537
- docs: add leaderboard badge by @frank-zsy in #5581
- Feat: refactor prom metrics for app reconcile by @Somefive in #5592
- Fix: add test for InterfaceSlice by @nuclearwu in #5590
- Fix: replication example componentdefinition miss workload field for … by @Somefive in #5615
- Fix: make read-only object not found error more clear by @Somefive in #5614
- Chore: optimize the package dependencies by @barnettZQG in #5596
- Feat: sync sdk automatically by @chivalryq in #5630
- Fix: push tags anyway in new release while syncing api and sdk by @chivalryq in #5641
- Chore: move the API server to the VelaUX repository by @barnettZQG in #5636
- Fix: mc flaky e2e test by @Somefive in #5661
CVE Fixes
- Fix: cve-2022-4203 by @Somefive in #5658
- Fix: vulnerability CVE-2023-27483 by @chivalryq in #5657
New Contributors
- @zhanghw0354 made their first contribution in #5537
- @caiqi1111 made their first contribution in #5535
- @msun1996 made their first contribution in #5568
- @frank-zsy made their first contribution in #5581
How to install
Install Vela Core by Using Vela CLI
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.8.0-alpha.3
vela install -v 1.8.0-alpha.3
Install Vela Core by Using Helm:
helm repo add kubevela https://charts.kubevela.net/core
helm repo update
helm install --create-namespace -n vela-system kubevela kubevela/vela-core --version 1.8.0-alpha.3 --wait
Full Changelog: v1.8.0-alpha.2...v1.8.0-alpha.3
v1.7.5
What's Changed
- [Backport release-1.7] Fix: removes
default
parameter name for terraform provider by @github-actions in #5516 - [Backport release-1.7] Fix: delete the secret of the cluster by @github-actions in #5517
- [Backport release-1.7] Fix: swagger DateType by @github-actions in #5570
How to install
Install Vela Core by Using Vela CLI
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.7.5
vela install -v 1.7.5
Install Vela Core by Using Helm:
helm repo add kubevela https://charts.kubevela.net/core
helm repo update
helm install --create-namespace -n vela-system kubevela kubevela/vela-core --version 1.7.5 --wait
How to upgrade from old version?
Refer to the docs( https://kubevela.net/docs/platform-engineers/system-operation/migration-from-old-version ) if you're migrating from older versions.
Upgrade by using Vela CLI
The install command will also handle the upgrade automatically:
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.7.4
vela install -v 1.7.4 -r
Upgrade by using Helm
- Upgrade the CRDs, please make sure you upgrade the CRDs first before upgrade the helm chart.
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_applicationrevisions.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_applications.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_resourcetrackers.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_componentdefinitions.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_definitionrevisions.yaml
- Upgrade your kubevela chart
Since we have migrated some workflowstep definitions and views from workflow addon to KubeVela core repo, so it may cause the following error if you upgrade:
Error: Could not install KubeVela control plane installation: error when installing/upgrading Helm Chart kubevela in namespace vela-system: rendered manifests contain a resource that already exists. Unable to continue with update: WorkflowStepDefinition "apply-deployment" in namespace "vela-system" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "kubevela"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "vela-system"
You can execute this script to solve it before upgrade helm chart:
curl -fsSl https://kubevela.net/script/checklegacy.sh | bash
The script will just help patch helm annotations for you, you can also do that manually one by one like:
kubectl patch -n vela-system workflowstepdefinition <item> --type=merge -p '{"metadata":{"annotations":{"meta.helm.sh/release-name":"kubevela","meta.helm.sh/release-namespace":"vela-system"},"labels":{"app.kubernetes.io/managed-by":"Helm"}}}'
kubectl patch -n vela-system configMap <item> --type=merge -p '{"metadata":{"annotations":{"meta.helm.sh/release-name":"kubevela","meta.helm.sh/release-namespace":"vela-system"},"labels":{"app.kubernetes.io/managed-by":"Helm"}}}'
Then you can upgrade the helm chart now:
helm repo add kubevela https://charts.kubevela.net/core
helm repo update
helm upgrade -n vela-system --install kubevela kubevela/vela-core --version 1.7.5 --wait
- Download the new CLI and enable velaux
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.7.5
vela addon enable velaux
Full Changelog: v1.7.4...v1.7.5
v1.8.0-alpha.2
Features
New Features
- Feat: SDK generating framework by @chivalryq in #5431
- Feat: need podAntiAffinity for vela pods, in order to make kubevela h… by @StevenLeiZhang in #5465
- Feat: support resume a specific suspend step in workflow by @FogDong in #5505
- Feat: add deploy inline policy by @Somefive in #5416
- Feat: expose cluster gateway metrics by @Somefive in #5523
- Feat: add the updating the application trigger API by @barnettZQG in #5382
Enhancements
- Fix: use the namespace specified in the resource if -n is not s… by @basuotian in #5379
- Feat: enhance health check by @Somefive in #5412
- Fix: sync project from app crd to velaux by @nuclearwu in #5403
- Fix: multiple initialization containers are not supported in traits (… by @huaxk in #5413
- Fix: Add confirmation prompt for vela adopt --apply with existing app name by @0xquark in #5376
- Fix: dingding notification message.text.content by @yueyongyue in #5424
- Fix: simplify notification parameters by @chivalryq in #5445
- Fix: expose trait load balance cue check bug by @Somefive in #5460
- Feat: enhance expose trait and adopt by @Somefive in #5470
- Feat: add category for workflow step definition by @FogDong in #5471
Bug Fixes
- Fix: longer releaser timeout by @chivalryq in #5399
- Fix: skip last-applied-configuration error for threewaymergepatch by @Somefive in #5402
- Fix: ignore validation webhook for ref-objects typed component by @Somefive in #5397
- Fix: fix bugs of specified addon registry by @wangyikewxgm in #5404
- Fix: use get before create or update by @Somefive in #5444
- Fix: suppress klog logs output for vela top by @Somefive in #5448
- Fix: stop sending update to brew and krew if alpha version by @chivalryq in #5451
- Fix: pod view invalid cue for special pod output by @Somefive in #5472
- Fix: use correct helm value when setting apprev compression by @charlie0129 in #5477
- Fix: apiVersion of CronJob for 1.25+ clusters by @vlameiras in #5480
- Fix: apply-terraform-provider and container-image definition by @chivalryq in #5485
- Fix: recover application watcher when sharding disabled by @Somefive in #5488
- Fix: pprof addr checked before parsed by @Somefive in #5495
- Feat: add cli command
vela metrics
to display resource number and resource status by @Hanmengnan in #5479 - Fix: read-only definition in cue spec by @chivalryq in #5498
- Feat: The vela-apiserver supports displaying chart values stored in the OCI registry by @wangyikewxgm in #5458
- Fix: removes
default
parameter name for terraform provider by @afzalbin64 in #5468 - Fix: delete the secret of the cluster by @suwliang3 in #5497
- Fix: vela top can not show Containers and Pod metrics, when the Compo… by @StevenLeiZhang in #5534
Refactor
- Fix: aligin config create to be managed by apps with Dispatch function by @wonderflow in #5384
- Feat: update sharding using pkg by @Somefive in #5430
- Chore: refine readme with more featrues by @wonderflow in #5447
- Chore: fix krew release with new binary format for .exe by @wonderflow in #5459
- Feat: add KEP of cloud resource data passing by @chivalryq in #5489
- Chore: add codeowner by @chivalryq in #5496
- Feat: add load testing script (batch apply applications) by @Somefive in #5506
Dependency Upgrade
- Fix: update package dependencies by @fengshunli in #5388
- Fix: update CVE-2022-3996 vuln by @fengshunli in #5417
- Chore: update cue to v0.5.0-beta.5 by @FogDong in #5421
- Chore: Create dependabot.yml for security package management by @wonderflow in #5423
- Feat: update version of terraform-controller to v0.7.10. by @ramekris3163 in #5550
How to install
Install Vela Core by Using Vela CLI
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.8.0-alpha.2
vela install -v 1.8.0-alpha.2
Install Vela Core by Using Helm:
helm repo add kubevela https://charts.kubevela.net/core
helm repo update
helm install --create-namespace -n vela-system kubevela kubevela/vela-core --version 1.8.0-alpha.2 --wait
New Contributors
- @fengshunli made their first contribution in #5388
- @huaxk made their first contribution in #5413
- @0xquark made their first contribution in #5376
- @yueyongyue made their first contribution in #5424
- @vlameiras made their first contribution in #5480
- @afzalbin64 made their first contribution in #5468
- @ramekris3163 made their first contribution in #5550
Full Changelog: v1.8.0-alpha.1...v1.8.0-alpha.2
v1.7.4
What's Changed
- [Backport release-1.7] Chore: fix krew release with new binary format for .exe by @github-actions in #5462
- [Backport release-1.7] Fix: expose trait load balance cue check bug by @github-actions in #5461
- [Backport release-1.7] Feat: enhance expose trait and adopt by @github-actions in #5473
- [Backport release-1.7] Fix: pod view invalid cue for special pod output by @github-actions in #5474
- Chore: update cue version to v0.5.0-beta.5 to fix certain bugs in the old version by @FogDong in #5475
- [Backport release-1.7] Fix: use correct helm value when setting apprev compression by @github-actions in #5478
- [Backport release-1.7] Fix: apply-terraform-provider and container-image definition by @github-actions in #5486
- [Backport release-1.7] Fix: read-only definition in cue spec by @github-actions in #5508
- [Backport release-1.7] Feat: The vela-apiserver supports displaying chart values stored in the OCI registry by @github-actions in #5509
How to install
Install Vela Core by Using Vela CLI
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.7.4
vela install -v 1.7.4
Install Vela Core by Using Helm:
helm repo add kubevela https://charts.kubevela.net/core
helm repo update
helm install --create-namespace -n vela-system kubevela kubevela/vela-core --version 1.7.4 --wait
Install VelaUX addon
vela addon enable velaux --version=v1.7.4
How to upgrade from old version?
Refer to the docs( https://kubevela.net/docs/platform-engineers/system-operation/migration-from-old-version ) if you're migrating from older versions.
Upgrade by using Vela CLI
The install command will also handle the upgrade automatically:
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.7.4
vela install -v 1.7.4 -r
Upgrade by using Helm
- Upgrade the CRDs, please make sure you upgrade the CRDs first before upgrade the helm chart.
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_applicationrevisions.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_applications.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_resourcetrackers.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_componentdefinitions.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_definitionrevisions.yaml
- Upgrade your kubevela chart
Since we have migrated some workflowstep definitions and views from workflow addon to KubeVela core repo, so it may cause the following error if you upgrade:
Error: Could not install KubeVela control plane installation: error when installing/upgrading Helm Chart kubevela in namespace vela-system: rendered manifests contain a resource that already exists. Unable to continue with update: WorkflowStepDefinition "apply-deployment" in namespace "vela-system" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "kubevela"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "vela-system"
You can execute this script to solve it before upgrade helm chart:
curl -fsSl https://kubevela.net/script/checklegacy.sh | bash
The script will just help patch helm annotations for you, you can also do that manually one by one like:
kubectl patch -n vela-system workflowstepdefinition <item> --type=merge -p '{"metadata":{"annotations":{"meta.helm.sh/release-name":"kubevela","meta.helm.sh/release-namespace":"vela-system"},"labels":{"app.kubernetes.io/managed-by":"Helm"}}}'
kubectl patch -n vela-system configMap <item> --type=merge -p '{"metadata":{"annotations":{"meta.helm.sh/release-name":"kubevela","meta.helm.sh/release-namespace":"vela-system"},"labels":{"app.kubernetes.io/managed-by":"Helm"}}}'
Then you can upgrade the helm chart now:
helm repo add kubevela https://charts.kubevela.net/core
helm repo update
helm upgrade -n vela-system --install kubevela kubevela/vela-core --version 1.7.4 --wait
- Download the new CLI and enable velaux
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.7.4
vela addon enable velaux
Upgrade VelaUX
vela addon upgrade velaux --version=v1.7.4
Full Changelog: v1.7.3...v1.7.4
v1.7.3
What's Changed
- [Backport release-1.7] Fix: skip last-applied-configuration error for threewaymergepatch by @github-actions in #5405
- [Backport release-1.7] Fix: ignore validation webhook for ref-objects typed component by @github-actions in #5406
- [Backport release-1.7] Fix: fix bugs of specified addon registry by @github-actions in #5407
- [Backport release-1.7] Fix: sync project from app crd to velaux by @github-actions in #5410
- [Backport release-1.7] Fix: Add confirmation prompt for vela adopt --apply with existing app name by @github-actions in #5419
- [Backport release-1.7] Fix: simplify notification parameters by @github-actions in #5446
- [Backport release-1.7] Fix: use get before create or update by @github-actions in #5450
- [Backport release-1.7] Fix: suppress klog logs output for vela top by @github-actions in #5452
How to install
Install Vela Core by Using Vela CLI
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.7.3
vela install -v 1.7.3
Install Vela Core by Using Helm:
helm repo add kubevela https://charts.kubevela.net/core
helm repo update
helm install --create-namespace -n vela-system kubevela kubevela/vela-core --version 1.7.3 --wait
Install VelaUX addon
vela addon enable velaux --version=v1.7.2
How to upgrade from old version?
Refer to the docs( https://kubevela.net/docs/platform-engineers/system-operation/migration-from-old-version ) if you're migrating from older versions.
Upgrade by using Vela CLI
The install command will also handle the upgrade automatically:
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.7.3
vela install -v 1.7.3 -r
Upgrade by using Helm
- Upgrade the CRDs, please make sure you upgrade the CRDs first before upgrade the helm chart.
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_applicationrevisions.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_applications.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_resourcetrackers.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_componentdefinitions.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_definitionrevisions.yaml
- Upgrade your kubevela chart
Since we have migrated some workflowstep definitions and views from workflow addon to KubeVela core repo, so it may cause the following error if you upgrade:
Error: Could not install KubeVela control plane installation: error when installing/upgrading Helm Chart kubevela in namespace vela-system: rendered manifests contain a resource that already exists. Unable to continue with update: WorkflowStepDefinition "apply-deployment" in namespace "vela-system" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "kubevela"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "vela-system"
You can execute this script to solve it before upgrade helm chart:
curl -fsSl https://kubevela.net/script/checklegacy.sh | bash
The script will just help patch helm annotations for you, you can also do that manually one by one like:
kubectl patch -n vela-system workflowstepdefinition <item> --type=merge -p '{"metadata":{"annotations":{"meta.helm.sh/release-name":"kubevela","meta.helm.sh/release-namespace":"vela-system"},"labels":{"app.kubernetes.io/managed-by":"Helm"}}}'
kubectl patch -n vela-system configMap <item> --type=merge -p '{"metadata":{"annotations":{"meta.helm.sh/release-name":"kubevela","meta.helm.sh/release-namespace":"vela-system"},"labels":{"app.kubernetes.io/managed-by":"Helm"}}}'
Then you can upgrade the helm chart now:
helm repo add kubevela https://charts.kubevela.net/core
helm repo update
helm upgrade -n vela-system --install kubevela kubevela/vela-core --version 1.7.3 --wait
- Download the new CLI and enable velaux
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.7.3
vela addon enable velaux
Upgrade VelaUX
vela addon upgrade velaux --version=v1.7.2
Full Changelog: v1.7.2...v1.7.3
v1.8.0-alpha.1
Highlight Features
- Feat: support sharding in controller by @Somefive in #5360
- Feat: velaql support indexing into exported array field by @hnd4r7 in #5320
- Feat: add Trait to set Rollout strategy of Workload by @StevenLeiZhang in #5257
- Feat: vela cluster join supports label setting arg by @previousdeveloper in #5346
- Feat: vela cluster export config by @Somefive in #5336
- Feat: add the func of additionalInfo for workload by @suwliang3 in #5325
How to install
Install Vela Core by Using Vela CLI
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.8.0-alpha.1
vela install -v 1.8.0-alpha.1
Install Vela Core by Using Helm:
helm repo add kubevela https://charts.kubevela.net/core
helm repo update
helm install --create-namespace -n vela-system kubevela kubevela/vela-core --version 1.8.0-alpha.1 --wait
New Contributors
- @hnd4r7 made their first contribution in #5295
- @Xunzhuo made their first contribution in #5304
- @girishramnani made their first contribution in #5321
- @ThuWangzw made their first contribution in #5332
- @previousdeveloper made their first contribution in #5346
- @nisiyong made their first contribution in #5345
Full Changelog: v1.7.0...v1.8.0-alpha.1
v1.7.2
The release has some binary generation issue.
v1.7.1
What's Changed
- [Backport release-1.7] Feat: upgrade cluster gateway to 1.7.0 by @github-actions in #5356
- [Backport release-1.7] Fix: failed to create the record when rollbacking the application by @github-actions in #5381
- [Backport release-1.7] Chore: update workflow version to fix panic by @github-actions in #5386
- Fix: rework on apisrever e2e test covergae by @chivalryq in #5390
- [Backport release-1.7] Feat: add the updating the application trigger API by @github-actions in #5395
- Fix: aligin config create to be managed by apps with Dispatch function - cherry-pick from (#5384) by @wonderflow in #5394
- [Backport release-1.7] Fix: use the namespace specified in the resource if -n is not s… by @github-actions in #5396
- [Backport release-1.7] Fix: replace homemade release script with goreleaser by @github-actions in #5398
How to install
Install Vela Core by Using Vela CLI
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.7.1
vela install -v 1.7.1
Install Vela Core by Using Helm:
helm repo add kubevela https://charts.kubevela.net/core
helm repo update
helm install --create-namespace -n vela-system kubevela kubevela/vela-core --version 1.7.1 --wait
Install VelaUX addon
vela addon enable velaux --version=v1.7.2
How to upgrade from old version?
Refer to the docs( https://kubevela.net/docs/platform-engineers/system-operation/migration-from-old-version ) if you're migrating from older versions.
Upgrade by using Vela CLI
The install command will also handle the upgrade automatically:
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.7.1
vela install -v 1.7.1 -r
Upgrade by using Helm
- Upgrade the CRDs, please make sure you upgrade the CRDs first before upgrade the helm chart.
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_applicationrevisions.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_applications.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_resourcetrackers.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_componentdefinitions.yaml
kubectl apply -f https://raw.githubusercontent.com/oam-dev/kubevela/release-1.7/charts/vela-core/crds/core.oam.dev_definitionrevisions.yaml
- Upgrade your kubevela chart
Since we have migrated some workflowstep definitions and views from workflow addon to KubeVela core repo, so it may cause the following error if you upgrade:
Error: Could not install KubeVela control plane installation: error when installing/upgrading Helm Chart kubevela in namespace vela-system: rendered manifests contain a resource that already exists. Unable to continue with update: WorkflowStepDefinition "apply-deployment" in namespace "vela-system" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "kubevela"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "vela-system"
You can execute this script to solve it before upgrade helm chart:
curl -fsSl https://kubevela.net/script/checklegacy.sh | bash
The script will just help patch helm annotations for you, you can also do that manually one by one like:
kubectl patch -n vela-system workflowstepdefinition <item> --type=merge -p '{"metadata":{"annotations":{"meta.helm.sh/release-name":"kubevela","meta.helm.sh/release-namespace":"vela-system"},"labels":{"app.kubernetes.io/managed-by":"Helm"}}}'
kubectl patch -n vela-system configMap <item> --type=merge -p '{"metadata":{"annotations":{"meta.helm.sh/release-name":"kubevela","meta.helm.sh/release-namespace":"vela-system"},"labels":{"app.kubernetes.io/managed-by":"Helm"}}}'
Then you can upgrade the helm chart now:
helm repo add kubevela https://charts.kubevela.net/core
helm repo update
helm upgrade -n vela-system --install kubevela kubevela/vela-core --version 1.7.1 --wait
- Download the new CLI and enable velaux
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.7.1
vela addon enable velaux
Upgrade VelaUX
vela addon upgrade velaux --version=v1.7.2
Full Changelog: v1.7.0...v1.7.1