1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

chore: lint test files (#8388)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2023-09-13 22:24:49 +02:00 committed by GitHub
parent 32b2110dd9
commit 5af4d13a0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,24 +1,27 @@
name: add-default-resources
policies:
- add-default-resources.yaml
- add-default-resources.yaml
resources:
- resource.yaml
- resource.yaml
results:
- policy: add-default-resources
rule: add-default-requests
resource: nginx-demo1
patchedResource: patchedResource1.yaml
kind: Pod
result: pass
- policy: add-default-resources
rule: add-default-requests
resource: nginx-demo2
patchedResource: patchedResource2.yaml
kind: Pod
result: skip
- policy: add-default-resources
rule: add-default-requests
resource: nginx-demo3
patchedResource: patchedResource3.yaml
kind: Pod
result: pass
- kind: Pod
patchedResource: patchedResource1.yaml
policy: add-default-resources
resources:
- nginx-demo1
result: pass
rule: add-default-requests
- kind: Pod
patchedResource: patchedResource2.yaml
policy: add-default-resources
resources:
- nginx-demo2
result: skip
rule: add-default-requests
- kind: Pod
patchedResource: patchedResource3.yaml
policy: add-default-resources
resources:
- nginx-demo3
result: pass
rule: add-default-requests