1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-12 10:56:54 +00:00
kyverno/test/conformance/kuttl/reports/background/verify-image-pass
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 a pod using a valid signed image. It then creates an image verification policy running in the background.

Note: the pod has to be created first because we don't want the policy to apply at admission time.

Expected Behavior

The pod is created and a background scan report is generated for it with a pass result.