mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
7113aa111a
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> |
||
---|---|---|
.. | ||
admission-event.yaml | ||
background-event.yaml | ||
chainsaw-test.yaml | ||
policy.yaml | ||
README.md | ||
resource.yaml |
Description
This test creates a policy with admission
set to false
.
Then it creates a resource that violates the policy.
Expected Behavior
The resource creates fine as the policy doesn't apply at admission time. No admission event is created. One background event is created.