1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/conformance/kuttl/mutate/cascading/first-rule-is-foreach
Charles-Edouard Brétéché 33a07f3c80
fix: cascading mutations (#6411)
* fix: cascading mutations

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* remove explicit AddResource call

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* update resource in context

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-02-27 18:33:07 +01:00
..
01-policy.yaml fix: cascading mutations (#6411) 2023-02-27 18:33:07 +01:00
02-configmap.yaml fix: cascading mutations (#6411) 2023-02-27 18:33:07 +01:00
configmap-assert.yaml fix: cascading mutations (#6411) 2023-02-27 18:33:07 +01:00
configmap.yaml fix: cascading mutations (#6411) 2023-02-27 18:33:07 +01:00
policy-assert.yaml fix: cascading mutations (#6411) 2023-02-27 18:33:07 +01:00
policy.yaml fix: cascading mutations (#6411) 2023-02-27 18:33:07 +01:00
README.md fix: cascading mutations (#6411) 2023-02-27 18:33:07 +01:00

Description

This test creates a policy with two mutation rules. The second rule depends on the mutation in the first rule. To succeed, the changes in the first mutation rule need to cascade correctly to get the second rule to execute correctly.

https://github.com/kyverno/kyverno/issues/6210