mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-09-12 20:21:13 +00:00
kyverno(kube): bump version
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user