# Kyverno v1.16.1

2025-12-03 · [Original release notes](https://github.com/kyverno/kyverno/releases/tag/v1.16.1) · [Full summary](https://ratatosk.io/en/releases/kyverno/v1.16.1)

Breaking changes 1 · Important fixes 4 · Enhancements 5 · Other changes 4

## Breaking changes (1)

### CEL HTTP library registers `struct{}` instead of `http.Request`

- Affects: CEL policies or expressions compiled with the HTTP library that rely on `http.Request` as a native type (Inferred)

> * fix: dont register the http request type (Cherry-pick #14238) by @kyverno-bot in https://github.com/kyverno/kyverno/pull/14340

## Important fixes (4)

### `Namespace` label matching fixed for `namespaceSelector` policies

- Affects: Generating policies with a `namespaceSelector` that matches `Namespace` resources (Inferred)

When a policy's `namespaceSelector` was evaluated for a `Namespace` resource, Kyverno tried to obtain its namespace and match against that namespace's labels. It now checks the resource's own labels directly.

> * fix: handle namespace match with namespaceSelector (Cherry-pick #14339) by @kyverno-bot in https://github.com/kyverno/kyverno/pull/14356

### Nil `MatchConstraints` handling fixed for admission policies

- Affects: mutating or validating admission policies

When `MatchConstraints` was nil or omitted, the code dereferenced it without a nil check and failed. It now handles nil and defaults the match policy to `admissionregistrationv1.Equivalent`.

> * fix(admissionpolicy): handle nil MatchConstraints (Cherry-pick #14350) by @kyverno-bot in https://github.com/kyverno/kyverno/pull/14394

### Duplicate error accumulation fixed in the deleting controller

- Affects: deleting-controller operations that list resources using a selector

When selector-based listing failed in the reconciler loop, the error was logged and accumulated both unconditionally and conditionally, increasing memory pressure in high-error situations. The failure is still logged and recorded by the failure metric, but this branch no longer adds it to `errs`.

> * fix(controllers): duplicate error accumulation (Cherry-pick #14349) by @kyverno-bot in https://github.com/kyverno/kyverno/pull/14395

### Cleanup policy namespace checks fixed

- Affects: Cleanup policies

When a listed resource is in a different namespace from its `CleanupPolicy`, the cleanup pass skips it and does not delete it.

> * fix(controllers): avoid cleanup on non-matching ns (Cherry-pick #14386) by @kyverno-bot in https://github.com/kyverno/kyverno/pull/14398

## Enhancements (5)

- Kyverno CLI adds namespaced policy CRDs
- Wildcard namespace matching in non-namespaced policies
- Deleting-policy CEL context now includes `namespaceObject`
- Final release metadata for the `kyverno` and `kyverno-policies` Helm charts
- Kyverno Helm charts updated to 3.6.1

## Other changes (4)

- Cluster-wide parameter validation initializes an empty `corev1.Namespace`
- Load-testing workflow builds k6 in Docker with pinned tool versions
- Helm chart metadata updated for `kyverno` and `kyverno-policies`
- CLI test added for validating policies with context and values

---

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