Skip to content

Releases: kubevela/kubevela

v1.6.8

28 Mar 08:57
b7683eb
Compare
Choose a tag to compare

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

  1. 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
  1. 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
  1. 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

13 Mar 09:38
0ae82d8
Compare
Choose a tag to compare
v1.8.0-alpha.3 Pre-release
Pre-release

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

Code & Doc Refactor

CVE Fixes

New Contributors

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

27 Feb 08:27
1c2df10
Compare
Choose a tag to compare

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

⚠️ Please upgrade the CRD first if you're upgrading to this release.

  1. 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
  1. 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
  1. 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

22 Feb 04:02
0f6c89b
Compare
Choose a tag to compare

Features

New Features

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

Dependency Upgrade

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

⚠️ Please upgrade the CRD first if you're upgrading to this release.

Full Changelog: v1.8.0-alpha.1...v1.8.0-alpha.2

v1.7.4

15 Feb 09:42
f3cdbcf
Compare
Choose a tag to compare

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

⚠️ Please upgrade the CRD first if you're upgrading to this release.

  1. 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
  1. 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
  1. 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

08 Feb 08:31
f49f11d
Compare
Choose a tag to compare

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

⚠️ Please upgrade the CRD first if you're upgrading to this release.

  1. 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
  1. 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
  1. 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

31 Jan 07:02
647fdf8
Compare
Choose a tag to compare

Highlight Features

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

⚠️ Please upgrade the CRD first if you're upgrading to this release.

New Contributors

Full Changelog: v1.7.0...v1.8.0-alpha.1

v1.7.2

01 Feb 02:18
4b88cd2
Compare
Choose a tag to compare

The release has some binary generation issue.

v1.7.1

31 Jan 12:19
492e7d7
Compare
Choose a tag to compare

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

⚠️ Please upgrade the CRD first if you're upgrading to this release.

  1. 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
  1. 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
  1. 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

v1.5.11

28 Mar 08:58
8f35596
Compare
Choose a tag to compare

What's Changed

  • [Backport release-1.5] Fix: the --cluster not work when enable addon by @github-actions in #5339
  • Fix: fix panic if trait tries to patch an invalid workload like terraform by @FogDong in #5329

Full Changelog: v1.5.10...v1.5.11