kyverno(kube): bump version

This commit is contained in:
2026-09-09 22:52:51 +02:00
parent 26dd59845f
commit 21d54fba97
2 changed files with 6 additions and 12 deletions
@@ -86,12 +86,11 @@ spec:
matchLabels:
app: engine-image
mutate:
# Use `foreach` over the pod's own containers (relative paths, NOT
# request.object.*) so the rule works in BOTH admission AND background
# modes. The backgroundController has no admission request, so
# request.object.* is unavailable in background scanning.
# `request.object` is available in BOTH admission and background modes:
# the backgroundController synthesizes an admission-like request for
# existing resources, so the same foreach works for both.
foreach:
- list: "spec.containers[]"
- list: "request.object.spec.containers"
patchStrategicMerge: |
spec:
containers:
@@ -99,12 +98,7 @@ spec:
resources:
requests:
cpu: null
- list: "spec.initContainers[]"
preconditions:
all:
- key: "{{ spec.initContainers[] || `[]` | length(@) }}"
operator: GreaterThan
value: 0
- list: "request.object.spec.initContainers || `[]`"
patchStrategicMerge: |
spec:
initContainers:
+1 -1
View File
@@ -12,7 +12,7 @@ spec:
name: kyverno
namespace: kyverno
chart: kyverno
version: '3.3.7'
version: '3.9.0'
interval: 5m
# Minimal footprint for a single-node cluster:
# - admissionReports disabled (no extra Redis/Postgres)