1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 18:06:55 +00:00
kyverno/test/conformance/chainsaw/policy-validation/policy/assert
Charles-Edouard Brétéché a1510d9db1
feat: add more policy validation around policies using kyverno-json (#10777)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-08-02 14:47:03 +03:00
..
bad-context-name.yaml feat: add more policy validation around policies using kyverno-json (#10777) 2024-08-02 14:47:03 +03:00
chainsaw-test.yaml feat: add more policy validation around policies using kyverno-json (#10777) 2024-08-02 14:47:03 +03:00
no-foreach.yaml feat: add more policy validation around policies using kyverno-json (#10777) 2024-08-02 14:47:03 +03:00
ok.yaml feat: add more policy validation around policies using kyverno-json (#10777) 2024-08-02 14:47:03 +03:00
README.md feat: add more policy validation around policies using kyverno-json (#10777) 2024-08-02 14:47:03 +03:00

Description

This test tries to create policies that are potentially not valid and verifies the creation outcome.

Expected Behavior

  • ok policy should be accepted
  • foreach policy should be rejected
  • bad-context-name policy should be rejected