mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 07:57:07 +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> |
||
---|---|---|
.. | ||
bad.yaml | ||
chainsaw-step-02-apply-1-1.yaml | ||
chainsaw-test.yaml | ||
policy-ready.yaml | ||
policy.yaml | ||
README.md |
Description
This is a migrated test from e2e. The global anchor is being checked for basic functionality here.
Expected Behavior
If a container uses an image named someimagename
then the imagePullSecret
must be set to my-registry-secret
. The test passes if this combination is found. If an image named someimagename
uses some other imagePullSecret, the test fails.
Reference Issue(s)
2390