1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 09:26:54 +00:00
kyverno/test/conformance/chainsaw/validating-admission-policy-reports/background/with-validating-admission-policy-binding-pass
Charles-Edouard Brétéché 5a0ce6bb67
chore: bump chainsaw (#11161)
* chore: bump chainsaw

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* more template use

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* v0.2.10

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* go mod

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-09-17 09:28:33 +00:00
..
chainsaw-test.yaml chore: bump chainsaw (#11161) 2024-09-17 09:28:33 +00:00
deployment-assert.yaml feat: support vap bindings in reports (#9506) 2024-01-29 12:49:17 +01:00
deployment.yaml feat: support vap bindings in reports (#9506) 2024-01-29 12:49:17 +01:00
ns.yaml feat: support vap bindings in reports (#9506) 2024-01-29 12:49:17 +01:00
policy.yaml chore: remove v1alpha1 of VAPs and use v1beta1 (#10955) 2024-08-29 15:31:25 +00:00
README.md feat: support vap bindings in reports (#9506) 2024-01-29 12:49:17 +01:00
report-assert.yaml feat: support vap bindings in reports (#9506) 2024-01-29 12:49:17 +01:00

Description

This test checks that policy reports are generated successfully as a result of applying the ValidatingAdmissionPolicy with its binding to a resource.

Steps

    • Create a staging-ns-1 namespace whose label is environment: staging-ns-1
    • Create a Deployment named deployment-4 with 3 replicas in the staging-ns-1 namespace.
    • Create a ValidatingAdmissionPolicy that checks deployment replicas to be less than or equal to 5.
    • Create a ValidatingAdmissionPolicyBinding that matches resources whose namespace has a label of environment: staging.
    • A policy report is generated for deployment-4 with a pass result.