1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-12 10:56:54 +00:00
kyverno/test/conformance/chainsaw/reports/admission/update-deployment
Charles-Edouard Brétéché decb7524eb
chore: use more chainsaw step templates (#11308)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-10-03 13:53:14 +03: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.