RATATOSK
← All releases

Kyvernov1.16.1

Breaking changes 1Important fixes 4Enhancements 5Other changes 4

Get Kyverno alerts

Email is sent weekly only when there are changes to check; critical security advisories are sent immediately.

Breaking changes1

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

AffectsCEL policies or expressions compiled with the HTTP library that rely on http.Request as a native type(Inferred)
Show release-note lines
* fix: dont register the http request type (Cherry-pick #14238) by @kyverno-bot in https://github.com/kyverno/kyverno/pull/14340
github.com/kyverno/kyverno/releases/tag/v1.16.1

Important fixes4

  • Namespace label matching fixed for namespaceSelector policies
    AffectsGenerating 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
    github.com/kyverno/kyverno/releases/tag/v1.16.1
  • Nil MatchConstraints handling fixed for admission policies
    Affectsmutating 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
    github.com/kyverno/kyverno/releases/tag/v1.16.1
  • Duplicate error accumulation fixed in the deleting controller
    Affectsdeleting-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
    github.com/kyverno/kyverno/releases/tag/v1.16.1
  • Cleanup policy namespace checks fixed
    AffectsCleanup 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
    github.com/kyverno/kyverno/releases/tag/v1.16.1

Enhancements5

Other changes4
  • Cluster-wide parameter validation initializes an empty corev1.Namespace
    * fix nil namespace initialization for cluster wide param resources (Cherry-pick #14327) by @kyverno-bot in https://github.com/kyverno/kyverno/pull/14328
    github.com/kyverno/kyverno/releases/tag/v1.16.1
  • Load-testing workflow builds k6 in Docker with pinned tool versions
    * fix: scale test k6 installation (cherry-pick #14338) by @realshuting in https://github.com/kyverno/kyverno/pull/14348
    github.com/kyverno/kyverno/releases/tag/v1.16.1
  • Helm chart metadata updated for kyverno and kyverno-policies
    * release v1.16.1-rc.1 by @realshuting in https://github.com/kyverno/kyverno/pull/14345
    github.com/kyverno/kyverno/releases/tag/v1.16.1
  • CLI test added for validating policies with context and values
    * chore: add a new test that uses both context and values (Cherry-pick #14416) by @kyverno-bot in https://github.com/kyverno/kyverno/pull/14423
    github.com/kyverno/kyverno/releases/tag/v1.16.1

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