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: matchLabels:
app: engine-image app: engine-image
mutate: mutate:
# Use `foreach` over the pod's own containers (relative paths, NOT # `request.object` is available in BOTH admission and background modes:
# request.object.*) so the rule works in BOTH admission AND background # the backgroundController synthesizes an admission-like request for
# modes. The backgroundController has no admission request, so # existing resources, so the same foreach works for both.
# request.object.* is unavailable in background scanning.
foreach: foreach:
- list: "spec.containers[]" - list: "request.object.spec.containers"
patchStrategicMerge: | patchStrategicMerge: |
spec: spec:
containers: containers:
@@ -99,12 +98,7 @@ spec:
resources: resources:
requests: requests:
cpu: null cpu: null
- list: "spec.initContainers[]" - list: "request.object.spec.initContainers || `[]`"
preconditions:
all:
- key: "{{ spec.initContainers[] || `[]` | length(@) }}"
operator: GreaterThan
value: 0
patchStrategicMerge: | patchStrategicMerge: |
spec: spec:
initContainers: initContainers:
+1 -1
View File
@@ -12,7 +12,7 @@ spec:
name: kyverno name: kyverno
namespace: kyverno namespace: kyverno
chart: kyverno chart: kyverno
version: '3.3.7' version: '3.9.0'
interval: 5m interval: 5m
# Minimal footprint for a single-node cluster: # Minimal footprint for a single-node cluster:
# - admissionReports disabled (no extra Redis/Postgres) # - admissionReports disabled (no extra Redis/Postgres)