mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 09:26:54 +00:00
|
||
---|---|---|
.. | ||
chainsaw-test.yaml | ||
deployment.yaml | ||
policy.yaml | ||
README.md | ||
report-assert.yaml | ||
update-deployment.yaml |
Description
This test verifies that policy report doesn't change when a resource is updated and the engine response is the same as before.
A policy in Audit mode is created.
A deployment is created, the deployment violates the policy and we assert the policy report contains a warn
result.
The deployment is then updated but it still violates the policy.
Expected result
When the resource is updated and it still violates the policy, the policy report should not change.