A machine-readable index of this documentation for AI agents is available at https://kubevela.io/llms.txt. Markdown versions of documentation pages are available by appending .md to their URLs.
Skip to main content
Version: v1.10

KubeVela v1.12.0 release notes

Unreleased

v1.12.0 is not released yet. These notes track the release-1.12 branch (pre-release v1.12.0-alpha.2) and may change before the GA release.

Released: Unreleased · Full changelog · Upgrade guide

Backported changes

These notes list every change since v1.11.0, so they are complete if you upgrade from any v1.11 release. Changes marked backported to v1.11.1 also shipped in v1.11.1; if you already run v1.11.1, you have them.

Summary​

v1.12 turns config templates and configs into Kubernetes resources reconciled by the controller, and adds a set of composition features behind feature gates: SourceDefinition and CEL property expressions, forEach workflow steps, crate and addon components, and definition inheritance. vela-core now manages its own admission webhook and cluster-gateway serving certificates.

Compatibility​

ComponentVersion
KubernetesTested with v1.37. >= v1.25 is the minimum implied by the CEL validation rules on ConfigTemplate; versions below v1.37 are not tested.
Go1.27.1
CUEv0.14.1
Kubernetes client librariesk8s.io/client-go v0.37.1, controller-runtime v0.25
Upgrade fromv1.11.x; see the upgrade guide

Breaking changes​

  • Trait conflicts. Admission rejects an Application whose traits conflict through TraitDefinition.spec.conflictsWith; existing ones are refused on their next spec change (v1.11.1 and v1.11.2 refuse every update). See Trait conflicts (#7303, backported to v1.11.1).
  • Config templates and configs. They are now ConfigTemplate and Config resources: users need permissions on them, outputs objects go to the Config's namespace, and the controller publishes to Nacos. See Config templates and configs.
  • Workflow HTTP guard. Workflow request, webhook and HTTP steps refuse metadata and link-local addresses, and read deny lists from labelled ConfigMaps (#7533, backported to v1.11.1).
  • helm upgrade --reuse-values. With the values of v1.11.0 or v1.11.1 the chart fails to render. With the values of v1.11.2 it renders but keeps the v1.11.2 image values, so cluster-gateway stays on v1.9.2. Pass your own values file, or use --reset-then-reuse-values (Helm 3.14 and later).
  • addon and vela-cli outside vela-system. The addon component and the vela-cli workflow step are refused in other namespaces. Allow more namespaces with definitionRestrictions.overrides.addon.namespaces and definitionRestrictions.overrides.vela-cli.namespaces. A vela-cli step's Job runs as the default service account of the Application's namespace unless the step sets serviceAccountName.
  • Credentials and sources in other namespaces. helmchart credentials and valuesFrom sources, configs read by config steps, TLS Secrets used by HTTP steps and Terraform module SSH keys are read only from the Application's namespace. Move them there before you upgrade.
  • HTTP request limits. A workflow or definition HTTP request fails if its timeout is zero, negative, has no unit or is longer than workflow.http.maxTimeout (60s), if the response is larger than workflow.http.maxResponseBytes (1 MiB), or if it calls a loopback address. In a definition, a vela/http call that breaks a limit fails the render. With featureGates.blockPrivateHTTPAddresses on, private addresses are refused too. The request step fails when the response status is 400 or higher (backported to v1.11.2).
  • resource trait. It sets only the values you give. A workload that set only cpu, or only memory, no longer gets a default for the other.
  • Webhooks with cert-manager. With cert-manager, or a certificate Secret you supply, the chart renders the webhooks with admissionWebhooks.failurePolicy (Fail) from the first install, so writes are refused until the caBundle is in place.
  • Global policy defaults. With EnableGlobalPolicies on, global policies outside vela-system no longer apply and the policy.oam.dev/skip-global annotation is refused, because controllerArgs.allowNamespaceGlobalPolicies and controllerArgs.allowSkipGlobalPolicies default to false (v1.11.x: true). Set both to true to keep the v1.11 behaviour.

Behaviour changes​

  • Runtime certificates. vela-core creates, reuses and renews the admission webhook and cluster-gateway serving certificates and sets their caBundle, instead of the kube-webhook-certgen Jobs. Argo CD users need ignoreDifferences for the webhook failurePolicy; see Runtime certificates (#7477, backported to v1.11.1, v1.10.10 and v1.9.15).
  • The RestrictDefinitionNamespaces feature gate is on by default. It enforces a definition's spec.restrictions, or its definition.oam.dev/restrict-namespaces annotation, when an Application is written, and does nothing until a definition declares a restriction.

CRD changes​

  • New CRDs configs.config.oam.dev (Config), configtemplates.config.oam.dev (ConfigTemplate) and sourcedefinitions.core.oam.dev (SourceDefinition). A ConfigTemplate's sensitive can be set to true but not back to false.
  • componentdefinitions, definitionrevisions, policydefinitions, traitdefinitions and workflowstepdefinitions add definition restrictions and inheritance (spec.extends).
  • applications and applicationrevisions add Application sources and status.workflow.ref.
  • workflows (and the Application workflow) add forEach steps.

Apply the CRDs before helm upgrade; see the upgrade guide for the commands.

Controller flags and feature gates​

NameChangeDefault
--webhook-tls-secret, --webhook-configuration, --webhook-failure-policy, --webhook-conversion-crdsNew (backported to v1.11.1)Set by the chart
--cluster-gateway-tls-secret, --cluster-gateway-serviceNew (backported to v1.11.1)Set by the chart
--max-for-each-itemsNew50
--helm-cache-max-bytes, --helm-cache-sweep-interval, --helm-cache-immutable-ttl, --helm-cache-mutable-ttlNew (backported to v1.11.1)268435456 (256 MiB), 1m0s, 24h0m0s, 5m0s
--application-default-auto-revision, --application-default-apply-policy-updates, --application-default-apply-data-changes, --allow-namespace-global-policies, --allow-skip-global-policiesNew (backported to v1.11.1)Set by the chart
--workflow-http-deny-config-template-nameNew (backported to v1.11.1)vela-core-http-deny
--max-workflow-http-timeout, --max-workflow-http-response-bytesNew (backported to v1.11.2)1m0s, 1048576
RestrictDefinitionNamespacesNew, Betatrue
EnableCelExpressionsNew, Alphafalse
RequireCelExpressionOptInNew, Alphatrue
EnableSourceAutoUpdateNew, Alphafalse
EnableDefinitionInheritanceNew, Alphafalse
EnableCrateComponentNew, Alphafalse
EnableAddonComponentNew, Alphafalse
AutoMigrateLegacyConfigsNew, Alphafalse

Details are in Controller Flags and Feature Gates.

Helm chart changes​

ValueChangeDefault
builtinDefinitions.job.image.repositoryNew: image with a shell and kubectl for the built-in definitions hook Jobs; mirror it for air-gapped clusters, see Built-in definitions (backported to v1.11.1)alpine/k8s
builtinDefinitions.job.image.tagNew (backported to v1.11.1 as 1.31.13; 1.34.13 from v1.11.2)1.34.13, pinned by digest
builtinDefinitions.job.image.pullPolicyNew (backported to v1.11.1)IfNotPresent
builtinDefinitions.job.rolloutTimeoutSecondsNew: controller rollout timeout; with cert-manager, also the webhook caBundle timeout (backported to v1.11.1)300
builtinDefinitions.job.applyRetriesNew: maximum definition apply attempts (backported to v1.11.1)6
workflow.httpDeny.*New: deny lists for the workflow HTTP guard (backported to v1.11.1)configTemplateName: vela-core-http-deny
workflow.http.maxTimeout, workflow.http.maxResponseBytesNew: the longest timeout and the largest response body a workflow or definition HTTP request may use (backported to v1.11.2)60s, 1048576 (1 MiB)
featureGates.disableWorkflowHTTP, featureGates.blockPrivateHTTPAddressesNew (backported to v1.11.1)false
helmCache.*New: Helm chart cache size and TTLs (backported to v1.11.1)maxBytes: 268435456 (256 MiB)
controllerArgs.defaultAutoRevision, defaultApplyPolicyUpdates, defaultApplyDataChangesNew: policy defaults (backported to v1.11.1)false
controllerArgs.allowNamespaceGlobalPolicies, allowSkipGlobalPoliciesNew: global policy defaults (backported to v1.11.1, where they default to true)false
definitionRestrictions.overrides.addon.namespaces, definitionRestrictions.overrides.vela-cli.namespacesNew: namespaces where the addon component and the vela-cli step may be used["vela-system"]
multicluster.clusterGateway.image.tagChanged from v1.9.0-alpha.2v1.10.0-alpha.1, pinned by digest
featureGates.* for the new feature gates, such as featureGates.autoMigrateLegacyConfigsNewSame as the feature gate above

CLI changes​

  • vela config-template migrate and vela config migrate adopt v1.11 templates and configs; see Migrate Configs to ConfigTemplate and Config.
  • vela def test runs CUE tests for X-Definitions.
  • vela crate (init, deploy, publish, registry) manages crates.
  • vela mcp serves KubeVela to AI agents over the Model Context Protocol.
  • vela config create and vela config-template apply now create Config and ConfigTemplate resources.

Each command's flags are on its page under vela CLI.

New features​

  • Config templates and configs as resources: ConfigTemplate and Config, with template scope, cross-namespace access, sensitive rules and Nacos publishing from the controller; see Config Template.
  • SourceDefinition and CEL $( ) property expressions, including reading another component's output (EnableCelExpressions).
  • Workflow: forEach steps with items from expressions and named by a key, CEL conditions on steps, expressions resolved when each step runs, and restarting before the first run.
  • Crates: install a crate as an Application component or inline with an addon, with identity stamping and hub and runtime placement (EnableCrateComponent); see Crates.
  • Declarative addon component (EnableAddonComponent).
  • Definitions: inheritance and abstract definitions (EnableDefinitionInheritance), namespace restrictions, per-namespace usage quotas, and admission validation of WorkflowStepDefinition templates.
  • defkit: Application-scoped and global policies, definition inheritance, reading a forEach pass from a step template, and expression-based validator messages.
  • Workflow steps: configurable HTTP timeout on request, webhook and notification.
  • Traits: sidecar supports ports (backported to v1.11.1).

Bug fixes​

  • Built-in definitions: fixes across components, traits and workflow steps so every documented parameter renders (#7445). A changed Pod template restarts Pods, so test affected Applications before upgrading. Parameters are in the Reference pages.
  • helmchart releases install on the topology's clusters as the Application's user.
  • Resource keeper honours shared-resource, GC-propagation and orphan-finalizer protections on delete (backported to v1.11.1).
  • PolicyDefinitions are validated with the compiler of their scope, and global and Application-scoped policy changes propagate (backported to v1.11.1).
  • helmchart keeps empty maps and lists in rendered manifests (backported to v1.11.1).
  • External Package CRs are watched in the workload compiler (backported to v1.11.1).
  • Nonexistent provider functions in PolicyDefinition CUE are rejected (backported to v1.11.1).
  • Workflow restart and trait output fixes (#7488, backported to v1.11.1).
  • vela auth reads service account kubeconfigs, and vela top no longer panics without a rest config (backported to v1.11.1).
  • get-placements-from-topology-policies respects --allow-cross-namespace-resource (backported to v1.11.1).
  • multicluster.clusterGateway.port is propagated to the controller (backported to v1.11.1).
  • The OpenKruise rollout reverts when paused at a canary step (backported to v1.11.1).

Dependencies​

DependencyFromTo
Go1.23.81.27.1 (#7450)
k8s.io/*v0.31.10v0.37.1 (#7450)
controller-runtimev0.19.7v0.25
kubevela/workflowv0.7.2v0.8.0-alpha.2