1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-12 10:56:54 +00:00
kyverno/test/conformance/chainsaw/verifyImages/clusterpolicy/standard/noconfigmap-diffimage-success
Charles-Edouard Brétéché 97f2d25aaa
chore: use more chainsaw step templates (#11296)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-10-03 09:10:11 +03:00
..
bad-pod.yaml
chainsaw-test.yaml
good-pod.yaml
namespace.yaml
pod-with-configmap-ready.yaml
pod-with-configmap.yaml
policy.yaml
README.md
update-policy.yaml

Description

This test verifies that resource creation is not blocked if resource image is different than policy image.

Expected Behavior

This test should create a policy with missing configmap, a pod with different image than policy image. This shouldn't block pod creation. When pod is created with same image as policy image, pod creation should be blocked. When test tries to update any field in a policy, it should get updated properly.

Reference Issue(s)

3709