ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
30
vendor/platform/kyverno/exceptions/node-exporter-host-metrics.yaml
vendored
Normal file
30
vendor/platform/kyverno/exceptions/node-exporter-host-metrics.yaml
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
apiVersion: kyverno.io/v2
|
||||
kind: PolicyException
|
||||
metadata:
|
||||
name: node-exporter-host-metrics
|
||||
namespace: kyverno
|
||||
annotations:
|
||||
policies.kyverno.io/reason: >-
|
||||
Node exporter needs hostNetwork and hostPath mounts for node metrics.
|
||||
Privileged is already avoided; host access is residual for this DaemonSet.
|
||||
quorate.internal/exception-owner: platform
|
||||
quorate.internal/exception-review-by: "2026-10-11"
|
||||
spec:
|
||||
exceptions:
|
||||
- policyName: restrict-pod-host-access
|
||||
ruleNames:
|
||||
- deny-host-namespaces
|
||||
- deny-hostpath-volumes
|
||||
- autogen-deny-host-namespaces
|
||||
- autogen-deny-hostpath-volumes
|
||||
match:
|
||||
any:
|
||||
- resources:
|
||||
kinds:
|
||||
- Pod
|
||||
- DaemonSet
|
||||
- ReplicaSet
|
||||
namespaces:
|
||||
- node-exporter
|
||||
names:
|
||||
- node-exporter*
|
||||
Loading…
Reference in a new issue