mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-12 10:56:54 +00:00
* Add image data to validate image configs Signed-off-by: Sambhav Kothari <sambhavs.email@gmail.com> * Add tests for image context Signed-off-by: Sambhav Kothari <sambhavs.email@gmail.com> * Add e2e test cases for image size policy Signed-off-by: Sambhav Kothari <sambhavs.email@gmail.com>
42 lines
1 KiB
YAML
42 lines
1 KiB
YAML
name: test-foreach
|
|
policies:
|
|
- policies.yaml
|
|
resources:
|
|
- resources.yaml
|
|
variables: variables.yaml
|
|
results:
|
|
- policy: validate-empty-dir-mountpath
|
|
rule: check-mount-paths
|
|
resource: test-pod
|
|
kind: Pod
|
|
status: pass
|
|
- policy: validate-empty-dir-mountpath
|
|
rule: check-mount-paths
|
|
resource: test-pod2
|
|
kind: Pod
|
|
status: pass
|
|
- policy: validate-empty-dir-resources
|
|
rule: check-resources
|
|
resource: test-pod-bad-mount
|
|
kind: Pod
|
|
status: fail
|
|
- policy: validate-empty-dir-resources
|
|
rule: check-resources
|
|
resource: test-pod
|
|
kind: Pod
|
|
status: fail
|
|
- policy: validate-empty-dir-resources
|
|
rule: check-resources
|
|
resource: test-pod-with-resources
|
|
kind: Pod
|
|
status: pass
|
|
- policy: validate-empty-dir-resources
|
|
rule: check-resources
|
|
resource: test-pod-with-gke-vol
|
|
kind: Pod
|
|
status: skip
|
|
- policy: validate-empty-dir-resources
|
|
rule: check-resources
|
|
resource: test-pod-with-resources-multiple-ctnrs
|
|
kind: Pod
|
|
status: pass
|