# KubeVela v1.11.2

2026-11-21 · [Original release notes](https://github.com/kubevela/kubevela/releases/tag/v1.11.2) · [Full summary](https://ratatosk.io/en/releases/kubevela/v1.11.2)

Security 29 · Breaking changes 10 · Important fixes 9 · Enhancements 3 · Dependency updates 4 · Other changes 8

## Check before upgrading

### Prerequisites

- **Commands for updating the Helm repository, applying `v1.11.2` CRDs, and upgrading kubevela**
  > ```shell
  > helm repo update kubevela
  > helm show crds kubevela/vela-core --version 1.11.2 | kubectl apply --server-side --force-conflicts -f -   # Helm doesn't upgrade CRDs
  > helm upgrade kubevela kubevela/vela-core --version 1.11.2 -n vela-system -f <your values file>
- **Air-gapped install image mirroring requirements**: The images to mirror by digest are `oamdev/cluster-gateway:v1.9.2`, `alpine/k8s:1.34.13` and `ghcr.io/osscontainertools/kaniko:v1.29.1`.
  > - **Air-gapped installs:** mirror `oamdev/cluster-gateway:v1.9.2`, `alpine/k8s:1.34.13` and
  >   `ghcr.io/osscontainertools/kaniko:v1.29.1` (by digest).
- **Commands for upgrading the kubevela Helm release to v1.11.2**
  > ```shell
  > helm repo update kubevela
  > helm show crds kubevela/vela-core --version 1.11.2 | kubectl apply --server-side --force-conflicts -f -   # Helm doesn't upgrade CRDs
  > helm upgrade kubevela kubevela/vela-core --version 1.11.2 -n vela-system -f <your values file>
  > ```
- **Air-gapped install image mirroring requirements**: The images to mirror by digest are `oamdev/cluster-gateway:v1.9.2`, `alpine/k8s:1.34.13` and `ghcr.io/osscontainertools/kaniko:v1.29.1`.
  >   `ghcr.io/osscontainertools/kaniko:v1.29.1` (by digest).

### Known issues

- **Helm upgrade issues with `--reuse-values`**: From v1.11.1, the flag fails because the old release lacks the new `workflow.http` values. Even when those values are set, it retains the old cluster-gateway and definitions Job image values; the note also calls out image tags to update or remove.
  > - **Don't use `--reuse-values`.** From 1.11.1 it fails (`nil pointer evaluating interface {}.maxTimeout`): the new
  >   `workflow.http` values are missing from the old release. Even with them set, it keeps 1.11.1's image values, so
  >   cluster-gateway and the definitions Job stay on the old, unfixed images. Use your own values file, or
  >   `--reset-then-reuse-values` (Helm 3.14+). If you set `multicluster.clusterGateway.image.tag` or
  >   `builtinDefinitions.job.image.tag` yourself, update or remove them.

## Security (29)

### vela-core and vela-cli images no longer trust tested compromised CA chains

- Affects: setups running the `vela-core` or `vela-cli` images shipped with this release
- [CVE-2026-111497](https://www.cve.org/CVERecord?id=CVE-2026-111497), [GHSA-9v8h-qqgm-4m35](https://github.com/advisories/GHSA-9v8h-qqgm-4m35)

Previously, the `vela-cli` image verified all 14 tested chains; whether `vela-core` did so depended on its build date. The updated images reject all 14 during certificate verification and contain no Brotli code.

> - **vela-core and vela-cli on `alpine:3.24`** (#7644). vela-cli was built on `alpine:3.15` (end of life), whose CA
>   store trusts the eMudhra / emSign roots behind the October 2026 intermediate CA compromise (14 of 14 test chains
>   verify). vela-core used a floating `alpine:3.18` tag, so whether its store was fixed depended on the day it was built.
>   Both are now `alpine:3.24` pinned by digest: none of the 14 chains verifies, and neither image contains Brotli code.
> * [Backport release-1.11] Fix: move the base images to alpine 3.24 for the eMudhra CA fix by @jerrinfrancis in https://github.com/kubevela/kubevela/pull/7644

### Compromised certificate-chain trust fixed in the chart-managed cluster gateway

- Affects: chart-managed cluster gateways configured through `multicluster.clusterGateway.image.tag`

The previous `v1.9.0-alpha.2` image trusted all 14 tested compromised chains; the replacement `v1.9.2` image is pinned by digest.

> - **cluster-gateway `v1.9.2`** (#7598). The chart ran `oamdev/cluster-gateway:v1.9.0-alpha.2` (2023), which trusts
>   all 14 compromised chains. It now runs `oamdev/cluster-gateway:v1.9.2`, pinned by digest (Alpine 3.24, all 14
>   rejected). With it the chart passes `--enable-priority-and-fairness=false` instead of the removed
>   which the newer gateway needs. vela-core and the vela CLI are built against the same tag.
> * [Backport release-1.11] Fix: move cluster-gateway to v1.9.2 for the eMudhra CA fix by @jerrinfrancis in https://github.com/kubevela/kubevela/pull/7598

### `vela-cli` Jobs run as the Application's ServiceAccount

- Affects: Applications that use the `vela-cli` workflow step

Previously, the Job ran in `vela-system` as vela-core's ServiceAccount. The step now fails immediately if the selected ServiceAccount does not exist in the Application's namespace.

> - **The `vela-cli` step's Job runs in the Application's namespace**, as the ServiceAccount named in
>   `serviceAccountName` (default `default`), instead of in `vela-system` as vela-core.

### `helmchart` sources restricted to the Application's namespace

- Affects: Applications with `helmchart` components that use repository credentials or `valuesFrom` sources.

Previously, chart credentials and `valuesFrom` Secrets or ConfigMaps could be read from either the Application's namespace or its selected release namespace. Now, sources in another namespace are refused, while a source with no namespace specified resolves to the Application's namespace.

> - **`helmchart`** reads its repository credentials and `valuesFrom` only from the Application's namespace.

### Query provider now returns Secret metadata only

- Affects: setups that query Secrets through the query provider, including Secrets found through Flux HelmReleases and Kustomizations

Previously, these queries returned whole Secret objects, including `data`, `stringData` and the last-applied annotation.

> - The query provider never returns a Secret's data; with `authentication.withUser=false` a hand-written

### Hand-written Application usernames no longer determine the acting user

- Affects: Installations with `AuthenticateApplication` enabled and `authentication.withUser=false`, where Applications carry a hand-written `app.oam.dev/username` annotation

Previously, the controller acted as the identity in the `app.oam.dev/username` annotation. Now the Application runs as the default user with the requester's groups.

>   `app.oam.dev/username` is ignored; with `authorization.definitionValidationEnabled`, referenced Workflows and

### [Security status unclear] Cross-Application `helmchart` release overwrite fixed

- Affects: Applications managing `helmchart` releases

When reconciliation encountered a release owned by another Application, it overwrote that release on every reconcile. It now refuses the release instead.

> - A `helmchart` release owned by another Application is refused instead of being overwritten on every reconcile.

### Application username annotation handling fixed

- Affects: Installations with `AuthenticateApplication` enabled and `authentication.withUser` disabled, running Applications with an `app.oam.dev/username` annotation
- Additional action: `AuthenticateApplication` enabled and `authentication.withUser` disabled

In this configuration, a hand-written `app.oam.dev/username` annotation was kept, and the controller acted as that user. The webhook now removes the annotation, and the Application runs as the default user with the requester’s groups.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### Application-scoped service accounts for `vela-cli` Jobs

- Affects: Applications using the `vela-cli` workflow step

Previously, the Job ran in `vela-system` as vela-core's service account. Steps relying on that identity now run as the Application namespace's `default` account unless `serviceAccountName` names another; the step fails immediately if that account is missing, and commands can fail if it lacks the required rights.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### Helm chart secret lookups restricted to the Application namespace

- Affects: Helm chart components with chart-auth or `valuesFrom` sources outside the Application namespace or without a namespace specified

Before, chart-auth Secrets and `valuesFrom` sources could be read from either the Application namespace or the release namespace chosen by the Application. Now, sources left in the release or another namespace are refused, unqualified references resolve in the Application namespace, and change detection follows the same namespace rule.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### Secret values omitted from `collectResources` query results

- Affects: installations querying Secrets through `collectResources`, including Flux `HelmReleases` and `Kustomizations`

Previously, matching Secret objects were returned whole, including secret data. The results now retain metadata but omit `data`, `stringData`, and the last-applied annotation.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### Built-in definitions Job image updated to `alpine/k8s:1.34.13`

- Affects: installations or upgrades that run the built-in definitions Job, including those using `builtinDefinitions.job.image.tag`
- [CVE-2026-111497](https://www.cve.org/CVERecord?id=CVE-2026-111497), [GHSA-9v8h-qqgm-4m35](https://github.com/advisories/GHSA-9v8h-qqgm-4m35)

Previously, the Job used `alpine/k8s:1.31.13`, which shipped `brotli-libs 1.1.0` and trusted 7 of the 14 tested compromised chains. The replacement image is pinned by digest.

> - **Built-in definitions Job on `alpine/k8s:1.34.13`** (#7645). The Job that installs the built-in definitions on
>   install and upgrade ran `alpine/k8s:1.31.13`, which ships `brotli-libs 1.1.0` (CVE-2026-111497) and trusts 7
>   of the 14 compromised chains. It now runs `alpine/k8s:1.34.13`, pinned by digest.
> * [Backport release-1.11] Fix: move the built-in definitions Job to alpine/k8s 1.34.13 for the eMudhra CA fix by @jerrinfrancis in https://github.com/kubevela/kubevela/pull/7645

### Default `build-push-image` executor updated

- Affects: setups using the `build-push-image` step without setting `kanikoExecutor`

The previous default trusted the compromised eMudhra / emSign certificate chains, exposing builds that used it. Those builds now use `ghcr.io/osscontainertools/kaniko:v1.29.1`, pinned by digest; steps with a custom `kanikoExecutor` keep their selected image.

> - **`build-push-image` uses a maintained kaniko by default** (#7633):
>   `ghcr.io/osscontainertools/kaniko:v1.29.1@sha256:e7cba1f7e70c01c8ee1cbe622d07990c04dea550430c4c81319d26679226cd37`
>   instead of `oamdev/kaniko-executor:v1.9.1`, a copy of the archived upstream kaniko with the same CA problem. A step
>   that sets `kanikoExecutor` keeps its image.
> * [Backport release-1.11] Fix: default build-push-image to a maintained kaniko image for the eMudhra CA fix by @jerrinfrancis in https://github.com/kubevela/kubevela/pull/7633

### Controller outbound HTTP guard blocks loopback, unspecified and local-use NAT64 addresses

- Affects: outbound HTTP requests made through the controller (Inferred)

Previously, the guard did not deny requests to loopback, unspecified or local-use NAT64 addresses. Addresses under the well-known NAT64 prefix are judged by the IPv4 address they carry, so DNS64 keeps working.

> - **Always refused:** loopback (`127.0.0.0/8`, `::1`), unspecified (`0.0.0.0/8`, `::`) and local-use NAT64
>   (`64:ff9b:1::/48`) addresses, in addition to the cloud-metadata and link-local addresses already refused in 1.11.1.

### `oci://` chart pulls now use the outbound guard

- Affects: chart pulls from `oci://` registries

Previously, `oci://` chart sources used the registry client's own HTTP client outside the outbound guard. Now pulls to registries on addresses the guard denies are refused, allowed redirects are followed, pulls time out after five minutes, and rendering cancellation stops them.

>   `oci://` chart pulls now go through the same check.

### Workflow HTTP calls bounded by timeout and response-size limits

- Affects: workflows using `request`, `webhook` or `notification` steps, and definitions using `vela/http`

Previously, the builtin HTTP command could run on a background context and read its entire response; `vela/http` had no timeout, and the three workflow steps treated a timeout of `"0"` as no timeout. Calls with zero, negative, unitless or over-maximum timeouts now fail, as do responses over 1 MiB; the default maximum timeout is `60s`, while an unset timeout remains 3s unless the configured maximum is lower.

> - **Bounded:** HTTP from the `request`, `webhook` and `notification` steps and `vela/http` in definitions times out
>   after at most `workflow.http.maxTimeout` (default `60s`; unset stays 3s) and fails on a body over
>   `workflow.http.maxResponseBytes` (default 1 MiB).

### Config step namespace access restricted

- Affects: Application config steps using `read-config`, `list-config`, `create-config` or `delete-config`

Previously, config steps could use the controller's identity to target any namespace. They now fail when reading or writing configs outside the Application's namespace, except for shared system configs in `vela-system` or access allowed by `AuthenticateApplication` when the Application's user has access to the config's `Secret`; writes also require both create and update access.

> - **Config steps** (`read-config`, `list-config`, `create-config`, `delete-config`) stay in the Application's
>   namespace, except for shared system configs in `vela-system`.

### Terraform remote module access checks tightened

- Affects: Terraform remote modules in `ComponentDefinition`s, especially those using an SSH key Secret in another namespace

Previously, modules were checked out before size checks, SSH key Secrets could come from any namespace, and all clones shared one known-hosts file. Now only `variables.tf` or `main.tf` is read from Git objects; symlinks, non-files, oversized files, and paths outside the module are refused, `/`-prefixed paths are relative to the module root, each remote uses its own known-hosts, and SSH key Secrets must be in the definition's namespace.

> - **Terraform remote modules** are read from a bare clone, with the SSH key Secret from the definition's namespace.

### CUE parsing limits prevent stack-overflow crashes

- Affects: CUE submitted through definition webhooks, template loading, addon rendering, Applications, or referenced Workflows

Previously, deeply nested templates could overflow the parser stack and end the controller or webhook process. Now, CUE nested more than 1000 levels or with overlong expression chains is refused before parsing in these paths.

> - **CUE nested more than 1000 levels** is refused before parsing, instead of being able to crash the controller.

### Referenced Workflow and Policy permission checks enforced

- Affects: Applications using `authorization.definitionValidationEnabled` that reference Workflows or Policies
- Additional action: `ValidateDefinitionPermissions` on

Previously, definitions reached through `spec.workflow.ref`, deploy-step Policy objects, or override policies were not checked, and Workflow and Policy objects were not checked when written. Now, an Application is refused if its author cannot read a referenced Workflow or Policy, or may not use a definition reached through them.

>   `app.oam.dev/username` is ignored; with `authorization.definitionValidationEnabled`, referenced Workflows and
>   Policies are checked too.

### Exact list replacement in updated objects

- Affects: updates to objects containing lists (Inferred)

When an object is updated with a list entry removed, such as a RoleBinding subject, that entry is absent from the updated list.

> - Lists in updated objects are replaced exactly (a removed RoleBinding subject leaves nothing behind); owned children

### Outbound requests to loopback addresses blocked

- Affects: setups whose HTTP calls target loopback addresses, including `localhost`

HTTP calls to `localhost` or another loopback address may fail; the note names the Service's DNS name as the alternative.

> - **HTTP steps that may now fail:** a call to `localhost` or another loopback address (use the Service's DNS name); a
>   timeout of `0`, negative, without a unit or over 60s; a response over 1 MiB; a `request` that gets a 400. Raise the

### Referenced Workflow and Policy permissions now checked

- Affects: installations with `ValidateDefinitionPermissions` enabled
- Additional action: `ValidateDefinitionPermissions` must be enabled for these checks to protect Applications.

Previously, permission validation checked only definitions named inline, leaving referenced Workflow and Policy objects and definitions reached through them unchecked. Applications that reference unreadable Workflows or Policies, or reach definitions their author may not use, are now refused; Workflow and Policy objects are also checked on create and update.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### Remote Terraform module and SSH key checks tightened

- Affects: remote Terraform `ComponentDefinition` modules

Previously, modules were checked out before their size was checked, SSH key Secrets could be read from another namespace, and clones shared one known-hosts file. Modules are now read from Git objects; unsafe or out-of-module `variables.tf` and `main.tf` are refused, a leading `/` is resolved from the module root, SSH key Secrets are limited to the definition's namespace, and known hosts are checked per remote.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### Cross-namespace config workflow access restricted

- Affects: Applications with `read-config`, `list-config`, `create-config`, or `delete-config` steps targeting configs outside their own namespace

Previously, these steps used the namespace supplied by the step with the controller's identity. They now refuse access to other namespaces except for shared system configs and authenticated-user access; config writes require both create and update permissions.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### CUE parser stack-overflow risk fixed

- Affects: CUE in definitions, addons, Applications, and referenced Workflows

Previously, deeply nested CUE or overlong expression chains in definition webhooks, template loading, addon rendering, or Application and referenced Workflow admission could overflow the parser stack and terminate the controller or webhook process. CUE is now rejected before parsing when nesting exceeds 1,000 levels or expression chains are overlong.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### [Security status unclear] Application webhook validation stops on request cancellation

- Affects: large Application admission requests

For Applications around 600 components, validation previously continued for about 42 seconds after the API server's 10-second webhook timeout, allowing concurrent requests to stack up. It now checks for cancellation before each component.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### Outbound HTTP filtering now blocks loopback, unspecified, and local-use addresses

- Affects: controller-initiated outbound HTTP requests

Previously, the outbound guard did not deny requests to those destinations. Embedded IPv4 addresses under the well-known NAT64 prefix are now evaluated against the deny rules, while DNS64 operation is preserved.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### OCI Helm chart pulls now use the outbound guard

- Affects: Helm chart components with `oci://` sources

Previously, OCI pulls used the registry client's HTTP client outside the outbound guard, so registries at denied addresses were not refused like other chart sources. OCI pulls now follow only allowed redirects, time out after five minutes, and stop when rendering is cancelled.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

## Breaking changes (10)

### Workflow `request` steps accept non-JSON replies and fail on HTTP 400

- Affects: Workflows using a `request` step (Inferred)

On success, the non-JSON reply is available in `responseBody`.

> - A `request` step succeeds on a reply that isn't JSON (`responseBody` holds it), and fails on an HTTP 400.

### `vela-cli` step Jobs now run in the Application's namespace

- Affects: Applications using `vela-cli` steps
- Action required: The selected ServiceAccount must exist and have the rights the command needs.

The Job previously ran as `vela-core`; it now defaults to the `default` ServiceAccount. If the named account does not exist, the step fails immediately.

> - **`vela-cli` steps:** the Job now runs in the Application's namespace as `default` unless the step names a
>   `serviceAccountName`, and the step fails at once if that account doesn't exist. Give the account the rights the
>   command needs. An Application in `vela-system` can still name `kubevela-vela-core`.

### Admission webhook failure policy now applies to externally managed certificates

- Affects: admission webhook certificates managed by cert-manager or a supplied Secret

With `admissionWebhooks.patch.enabled`, webhooks stayed at `Ignore` instead of using the configured policy. They now use that policy from the first install—`Fail` by default—so webhook failures reject admission unless the policy is set to `Ignore`.

Evidence: “`Ignore` is rendered only while vela-core manages the cert; with cert-manager or a supplied Secret the configured policy (`Fail` by default) applies from the start.” https://github.com/kubevela/kubevela/pull/7592

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### Conflicting Helm chart release adoption is refused

- Affects: Helm chart components whose release name matches a release owned by another Application or component
- Action required: A different `release.name` for one of two components sharing a release name.

Previously, forced adoption made matching releases overwrite each other on every reconcile. Now, releases owned by another extant Application are refused, while components adopt their own releases, plain `helm install` releases, and releases whose owner is gone, relabelling the latter.

Evidence: “Two components sharing one release name now get a refusal instead of fighting.” https://github.com/kubevela/kubevela/pull/7592

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### HTTP 400 responses now fail `request` workflow steps

- Affects: Applications using the `request` workflow step
- Action required: Handle the error status where the existing behavior relied on HTTP 400 passing the step

Previously, an HTTP 400 response passed the step. This changes when a `request` step receives that status.

Evidence: “The reply is kept as `responseBody` and parsed into `response` only when it is JSON, and a 400 fails the step like other client errors.” https://github.com/kubevela/kubevela/pull/7592

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### Webhook failure policy set to `Fail` from the first install

- Affects: installations using cert-manager or a supplied certificate for the webhooks

> - With cert-manager or a supplied certificate, the webhooks use `admissionWebhooks.failurePolicy` (`Fail`) from the
>   first install.

### HTTP workflow calls now have timeout and response-size limits

- Affects: HTTP in `request`, `webhook` or `notification` steps and `vela/http` in definitions

HTTP calls time out after at most `workflow.http.maxTimeout` (60s by default; if unset, the timeout remains 3s) and fail when responses exceed `workflow.http.maxResponseBytes` (1 MiB by default). Timeout values of 0, negative values, values without a unit, or values over 60s may now fail.

> - **HTTP steps that may now fail:** a call to `localhost` or another loopback address (use the Service's DNS name); a
>   timeout of `0`, negative, without a unit or over 60s; a response over 1 MiB; a `request` that gets a 400. Raise the
>   bounds with `workflow.http.maxTimeout` / `workflow.http.maxResponseBytes`.

### Config and module sources restricted by namespace

- Affects: config steps, `helmchart` credentials or `valuesFrom`, and Terraform modules using SSH key Secrets

Config steps use the Application's namespace, except for shared system configs in `vela-system`; `helmchart` reads credentials and `valuesFrom` only from the Application's namespace. Terraform remote modules use the SSH key Secret from the definition's namespace.

Evidence: “namespace, except for shared system configs in `vela-system`.” https://github.com/kubevela/kubevela/releases/tag/v1.11.2

> - **Cross-namespace sources:** move `helmchart` credentials / `valuesFrom` sources, configs read by config steps,
>   and Terraform module SSH keys into the namespace that now reads them.

### Workflow dependency pinned to v0.7.3

- Affects: workflows using bounded workflow HTTP or step TLS Secret reads that reach vela-core (Inferred)

These reads are now limited to the step's namespace.

> - `github.com/kubevela/workflow` **`v0.7.3`** (#7658): its bounded workflow HTTP and the step TLS Secret read only from
>   the step's namespace reach vela-core; the rest of v0.7.3 is the standalone vela-workflow chart.

### HTTP workflow requests now have timeout and response-size limits

- Affects: installations using built-in HTTP requests, `vela/http` definitions, or request, notification, and webhook steps
- Action required: A valid timeout must be set; raise `workflow.http.maxTimeout` and `workflow.http.maxResponseBytes` when needed.

Previously, the built-in HTTP command read the full response on a background context, `vela/http` definitions had no timeout, and request, notification, and webhook steps treated timeout `0` as unlimited. An unset timeout is now 3s or the lower maximum; invalid, zero, negative, unitless, or over-maximum timeouts and responses over the configured byte limit (1 MiB by default) fail the step or definition.

Evidence: “Timeouts are bounded by `--max-workflow-http-timeout` (default 60s) and bodies by `--max-workflow-http-response-bytes` (default 1 MiB), exposed as `workflow.http.maxTimeout` and `workflow.http.maxResponseBytes`. An unset timeout is 3s (or the maximum when lower); an invalid, zero, negative or over-the-maximum one is refused, as is an oversized body.” https://github.com/kubevela/kubevela/pull/7592

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

## Important fixes (9)

### `CreateOrUpdate` object replacement fixed

- Affects: controller operations using `CreateOrUpdate` for object lists (Inferred)

When the desired object shortened a list, the next element could retain fields from the removed element, such as a RoleBinding subject, and decode errors were discarded. Now non-metadata fields match the requested object, metadata follows update semantics, and decode errors are returned.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### Cluster gateway API Priority and Fairness flag fixed

- Affects: setups using the chart-managed cluster gateway (Inferred)

On gateways using `k8s.io/apiserver` v0.31 or later, the old `APIPriorityAndFairness=false` argument caused the gateway to exit. The chart now passes `--enable-priority-and-fairness=false`, keeping API Priority and Fairness off.

>   `APIPriorityAndFairness=false` feature gate (API Priority and Fairness stays off), and in authentication mode
> * [Backport release-1.11] Fix: move cluster-gateway to v1.9.2 for the eMudhra CA fix by @jerrinfrancis in https://github.com/kubevela/kubevela/pull/7598

### vela-core ClusterRole access for the newer gateway fixed

- Affects: setups with `authentication.enabled=true` using the newer chart-managed cluster gateway

With `authentication.enabled=true`, the newer gateway refused every request and `vela cluster join` failed because the role lacked access to validating admission policies and their bindings. The role can now get, list, and watch those resources.

>   (`authentication.enabled=true`) vela-core's ClusterRole can read validating admission policies and their bindings,
> * [Backport release-1.11] Fix: move cluster-gateway to v1.9.2 for the eMudhra CA fix by @jerrinfrancis in https://github.com/kubevela/kubevela/pull/7598

### Garbage collection of Application-pinned definition revisions fixed

- Affects: Applications that pin a definition revision using `type@vN`

> - A definition revision an Application pins (`type@vN`) is never garbage-collected.

### Definition revision garbage collection preserves Application-pinned revisions

- Affects: installations using Application-pinned definition revisions and definition revision garbage collection (Inferred)

Garbage collection could delete a revision pinned with `type@vN` when removing a definition’s oldest revisions beyond the limit, breaking those pins during a downgrade from 1.12 that reapplied the built-ins. Pinned component, trait, policy, and workflow-step revisions are now retained and excluded from the limit; negative limits are treated as 0.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### Workflow reconciliation prevents completed side-effect steps from rerunning

- Affects: Applications with completed webhook or notification steps

A stale cached Application or a status write lost to a conflicting metadata/spec change could make completed webhook or notification steps run again. Workflow reconciliation now reads a newer Application and retries certain status writes up to three times; in those cases, completed side-effect steps no longer rerun, while other conflicts are requeued as before.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### Non-JSON reply handling fixed in the `request` workflow step

- Affects: Applications using the `request` workflow step

When a request step received an empty or text reply, parsing every reply as JSON made it fail after sending the request, and retries could resend it. It now keeps the reply in `responseBody` and parses `response` only for JSON replies.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### Owned-child listing fixed for namespaced resource trees

- Affects: resource trees for namespaced resources

Previously, owned children were queried cluster-wide, so a namespace-scoped reader such as a VelaUX project group could get `Forbidden` and lose every Service from the tree. Queries now list owned children in the parent’s namespace and omit child kinds the reader cannot list instead of failing the parent.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

### Frozen Application release reconciliation fixed

- Affects: Applications released with `vela workflow rollback`

When a freeze left an Application in `rendering`, changing its controller requirement annotation to release it could be filtered out, leaving it there until the next resync (five minutes by default). After this fix, reconciliation continues immediately.

> * [Backport release-1.11] Fix: fixes from the v1.12 release testing by @briankane in https://github.com/kubevela/kubevela/pull/7592

## Enhancements (3)

- Referenced Policy checks added to authorization definition validation (To use: `authorization.definitionValidationEnabled` enabled)
- Working request headers in `vela/http` templates
- `vela/http` request header and trailer decoding fixed

## Dependency updates (4)

4 more, none mentioning security

- `` - `github.com/oam-dev/cluster-gateway` **`v1.9.2`** (#7598) ``
- `` - `github.com/oam-dev/terraform-controller` **`v0.8.2`** (the Terraform `Configuration` API types; code unchanged) (#7617) ``
- `* [Backport release-1.11] Chore: bump kubevela/workflow to v0.7.3 by @briankane in https://github.com/kubevela/kubevela/pull/7658`
- `` - `github.com/oam-dev/cluster-register` **`v1.0.4`** (`vela cluster join --engine ocm`; code unchanged) (#7625) ``

## Other changes (8)

- Completed `webhook` and `notification` steps stay completed after stale-cache conflicts
- Immediate continuation of `vela workflow rollback`
- VelaUX resource tree lists owned children in their own namespace
- Webhook validation stops when the API server gives up on a request
- 400 responses may fail in `request` steps
- `build-push-image` default image updated to `ghcr.io/osscontainertools/kaniko:v1.29.1`
- Unit-test coverage for definition revision generation and cleanup
- CI workflow dependency updates and release-branch Trivy scans

---

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.
