mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 09:26:54 +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-test.yaml | ||
policy-ready.yaml | ||
policy.yaml | ||
README.md | ||
resource-mutated.yaml | ||
resource.yaml |
Description
This is a migrated test from e2e. It checks that a simple JSON patch replace
operation works with a variable from AdmissionReview as a component of the value
field.
Expected Behavior
An Ingress's first rule should have the value of the host
field appended to it mycompany.com
. If this value has been replaced properly, the test passes. If not, the test fails.
Reference Issue(s)
N/A