mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 09:26:54 +00:00
|
||
---|---|---|
.. | ||
01-policy.yaml | ||
02-create-good-pod.yaml | ||
03-create-bad-pod.yaml | ||
04-update-policy.yaml | ||
05-create-pod-with-configmap.yaml | ||
bad-pod.yaml | ||
good-pod.yaml | ||
namespace.yaml | ||
pod-with-configmap-ready.yaml | ||
pod-with-configmap.yaml | ||
policy-ready.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