mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
* Adding validation to reject audit mode policy creation/updation when mutateDigest is set to true Signed-off-by: praddy26 <pradeep.vaishnav4@gmail.com> * fix tests Signed-off-by: realshuting <shutting06@gmail.com> --------- Signed-off-by: praddy26 <pradeep.vaishnav4@gmail.com> Signed-off-by: realshuting <shutting06@gmail.com> Co-authored-by: realshuting <shutting06@gmail.com> Co-authored-by: shuting <shuting@nirmata.com> |
||
---|---|---|
.. | ||
01-pod.yaml | ||
02-policy.yaml | ||
03-bgscanr.yaml | ||
bgscanr-assert.yaml | ||
pod-assert.yaml | ||
pod.yaml | ||
policy-assert.yaml | ||
policy.yaml | ||
README.md |
Title
This test creates pods using an unsigned or not correctly signed image. It then creates an image verification policy running in the background.
Note: the pods have to be created first because we don't want the policy to apply at admission time.
Expected Behavior
The pods are created and background scan reports are generated with a fail result.