1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 09:56:55 +00:00
kyverno/test/conformance/kuttl/verifyImages/clusterpolicy/standard/configmap-context-lookup
shuting 69739f3778
feat: add kuttl tests for #5704 (#5707)
* add kuttl tests for #5704

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* address comments

Signed-off-by: ShutingZhao <shuting@nirmata.com>

Signed-off-by: ShutingZhao <shuting@nirmata.com>
2022-12-16 14:18:48 +00:00
..
01-assert.yaml feat: add kuttl tests for #5704 (#5707) 2022-12-16 14:18:48 +00:00
01-manifests.yaml feat: add kuttl tests for #5704 (#5707) 2022-12-16 14:18:48 +00:00
99-cleanup.yaml feat: add kuttl tests for #5704 (#5707) 2022-12-16 14:18:48 +00:00
README.md feat: add kuttl tests for #5704 (#5707) 2022-12-16 14:18:48 +00:00

Description

The configmap context lookup uses informer's cache internally, the background processing should use the same to resolve configmap context without crashing Kyverno.

This is the second test for configmap lookup, see test/conformance/kuttl/validate/clusterpolicy/standard/audit/configmap-context-lookup/README.md for another.

Expected Behavior

Policy is expected to be successfully created AND not result in an internal panic.

Reference Issue(s)

https://github.com/kyverno/kyverno/issues/5704