v1.7.0-beta.1
Pre-releaseWhat's Changed
Highlight Features
Interactive Delete Mode
Client Identity Exchanger
Proposal detail: oam-dev/cluster-gateway#120
In this release, we've supported PrivilegedIdentityExchanger that will directly use the original identity registered by the cluster. by @Somefive in #5284
Others
- Feat: support hostpath in storage and vela cli by @FogDong in #5265
- Feat: add the API that rollbacks the application by @barnettZQG in #5273
- Feat: add pre-dispatch dryrun check by @Somefive in #5277
Enhancement
- Fix: fix inputs conflict for workflow by @FogDong in #5251
- Chore: update broken link of bot.md by @aimuz in #5262
- Fix: make the impersonation feature work by @barnettZQG in #5261
- Fix: apiserver k8sclient have duplicated multicluster wrapper by @chivalryq in #5275
- Fix: check the legacy definitions in vela install by @FogDong in #5268
- Fix: move notes to the right to avoid package head to be invalid format by @wonderflow in #5280
- Fix: make the synced workflow name normative by @barnettZQG in #5278
- Fix: keep the workflow data structure in MongoDB by @barnettZQG in #5276
- Fix: the addon management APIs support the user impersonation by @barnettZQG in #5282
How to install
Install Vela Core by Using Vela CLI
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.7.0-beta.1
vela install -v 1.7.0-beta.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.0-beta.1 --wait
Install VelaUX addon
vela addon enable velaux --version=v1.7.0-beta.1
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.0-beta.1
vela install -v 1.7.0-beta.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.0-beta.1 --wait
- Download the new CLI and enable velaux
curl -fsSl https://kubevela.io/script/install.sh | bash -s 1.7.0-beta.1
vela addon enable velaux
Upgrade VelaUX
vela addon upgrade velaux --version=v1.7.0-beta.1
New Contributors
Full Changelog: v1.7.0-alpha.3...v1.7.0-beta.1