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/mutate/clusterpolicy/standard/userInfo-roles-clusterRoles
Charles-Edouard Brétéché 9914675674
chore: use more chainsaw step templates (#11313)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-10-03 15:08:36 +00:00
..
chainsaw-step-01-apply-1-1.yaml chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
chainsaw-step-01-apply-1-2.yaml chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
chainsaw-step-01-apply-1-3.yaml chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
chainsaw-step-01-apply-1-4.yaml chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
chainsaw-step-01-apply-1-5.yaml chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
chainsaw-step-04-assert-1-1.yaml chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
chainsaw-test.yaml chore: use more chainsaw step templates (#11313) 2024-10-03 15:08:36 +00:00
policy.yaml chore: use more chainsaw step templates (#11313) 2024-10-03 15:08:36 +00:00
README.md chore: all chainsaw tests (#9011) 2023-11-24 11:17:58 +01:00
script.sh chore: all chainsaw tests (#9011) 2023-11-24 11:17:58 +01:00

Title

This test verifies that Kyverno is able to pick up and write the request.userInfo information from the AdmissionReview payload correctly, as well as the pre-defined vars request.roles and request.clusterRoles by creating and then performing an action as a new user in the system. The expectation is the custom group and username are both being reflected correctly in a mutation. Similar tests exist for validation flows.