mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 01:46:55 +00:00
Signed-off-by: ansalamdaniel <ansalam.daniel@infracloud.io> Signed-off-by: ansalamdaniel <ansalam.daniel@infracloud.io>
28 lines
729 B
YAML
28 lines
729 B
YAML
name: validate-service-loadbalancer
|
|
policies:
|
|
- policy.yaml
|
|
resources:
|
|
- resources.yaml
|
|
results:
|
|
- policy: add-safe-to-evict
|
|
rule: annotate-empty-dir
|
|
resource: pod-without-emptydir-hostpath
|
|
kind: Pod
|
|
result: skip
|
|
- policy: add-safe-to-evict
|
|
rule: annotate-empty-dir
|
|
resource: pod-with-emptydir-hostpath
|
|
patchedResource: patchedResource.yaml
|
|
kind: Pod
|
|
result: pass
|
|
- policy: add-safe-to-evict
|
|
rule: annotate-empty-dir
|
|
resource: pod-with-emptydir-hostpath-1
|
|
patchedResource: patchedResourceWithVolume.yaml
|
|
kind: Pod
|
|
result: pass
|
|
- policy: add-safe-to-evict
|
|
rule: annotate-empty-dir
|
|
resource: pod-without-emptydir-hostpath-1
|
|
kind: Pod
|
|
result: skip
|