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/reports/background/verify-image-fail
Pradeep Lakshmi Narasimha cc9adc5cd8
Adding validation to reject audit mode policy creation/updation when mutateDigest is set to true (#6757)
* 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>
2023-04-03 15:52:32 +00:00
..
01-pod.yaml test: bgscan report with image verification rule passing (#6728) 2023-03-29 22:49:09 +00:00
02-policy.yaml test: bgscan report with image verification rule passing (#6728) 2023-03-29 22:49:09 +00:00
03-bgscanr.yaml test: bgscan report with image verification rule passing (#6728) 2023-03-29 22:49:09 +00:00
bgscanr-assert.yaml test: bgscan report with image verification rule passing (#6728) 2023-03-29 22:49:09 +00:00
pod-assert.yaml test: bgscan report with image verification rule passing (#6728) 2023-03-29 22:49:09 +00:00
pod.yaml test: bgscan report with image verification rule passing (#6728) 2023-03-29 22:49:09 +00:00
policy-assert.yaml test: bgscan report with image verification rule passing (#6728) 2023-03-29 22:49:09 +00:00
policy.yaml Adding validation to reject audit mode policy creation/updation when mutateDigest is set to true (#6757) 2023-04-03 15:52:32 +00:00
README.md test: bgscan report with image verification rule passing (#6728) 2023-03-29 22:49:09 +00:00

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.