1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-20 06:34:51 +00:00
kyverno/test/conformance/chainsaw/mutate/clusterpolicy/standard/userInfo-roles-clusterRoles
Charles-Edouard Brétéché d6933fff4f
chore: all chainsaw tests (#9011)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 11:17:58 +01:00
..
01-manifests.yaml chore: all chainsaw tests (#9011) 2023-11-24 11:17:58 +01:00
02-script.yaml chore: all chainsaw tests (#9011) 2023-11-24 11:17:58 +01:00
03-create-as-chip.yaml chore: all chainsaw tests (#9011) 2023-11-24 11:17:58 +01:00
04-assert.yaml chore: all chainsaw tests (#9011) 2023-11-24 11:17:58 +01:00
99-cleanup.yaml chore: all chainsaw tests (#9011) 2023-11-24 11:17:58 +01: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.