mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
* chore: convert chainsaw tests to Test resource Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> |
||
---|---|---|
.. | ||
chainsaw-step-01-apply-1-1.yaml | ||
chainsaw-step-01-assert-1-1.yaml | ||
chainsaw-test.yaml | ||
README.md | ||
update-rule-exclude.yaml | ||
update-rule-generate-synchronize.yaml | ||
update-rule-match.yaml | ||
update-rule-name.yaml | ||
update-rule-preconditions.yaml |
Description
This test ensures that modification of the rule spec fields defined in a generate ClusterPolicy is disallowed except spec.generate.synchronize
.
Expected Behavior
The test fails if the modification is allowed, otherwise passes.