1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 09:56:55 +00:00
kyverno/test/conformance/chainsaw/policy-validation/cluster-policy/assert/README.md
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

266 B

Description

This test tries to create cluster 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