1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 01:46:55 +00:00
kyverno/test/conformance/chainsaw/validate/e2e/trusted-images-deprecated
Charles-Edouard Brétéché db7584c417
chore: use more chainsaw step templates (#11317)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-10-04 12:54:39 +03:00
..
bad.yaml chore: rename deprecated chainsaw tests (#10668) 2024-07-17 04:52:38 +00:00
chainsaw-step-02-apply-1-1.yaml chore: rename deprecated chainsaw tests (#10668) 2024-07-17 04:52:38 +00:00
chainsaw-test.yaml chore: use more chainsaw step templates (#11317) 2024-10-04 12:54:39 +03:00
policy.yaml chore: rename deprecated chainsaw tests (#10668) 2024-07-17 04:52:38 +00:00
README.md chore: rename deprecated chainsaw tests (#10668) 2024-07-17 04:52:38 +00:00

Description

This test is migrated from e2e. It tests an imageRegistry context lookup for a "real" image and states that an image built to run as root can only come from GHCR.

Expected Behavior

If an image is built to run as root user and it does NOT come from GHCR, the Pod is blocked. If it either isn't built to run as root OR it is built to run as root and does come from GHCR, it is allowed.

Reference Issue(s)

N/A