mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-07 00:17:13 +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 the global anchor works in tandem with a patchStrategicMerge policy.
Expected Behavior
If a container image is prefaced with registry.corp.com
then it should be mutated to add an imagePullSecret named regcred
. If this is done, the test passes. If this is not, the test fails.
Reference Issue(s)
N/A