mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 01:46:55 +00:00
|
||
---|---|---|
.. | ||
chainsaw-step-01-apply-1-1.yaml | ||
chainsaw-step-01-apply-1-2.yaml | ||
chainsaw-step-01-apply-1-3.yaml | ||
chainsaw-step-01-apply-1-4.yaml | ||
chainsaw-step-01-apply-1-5.yaml | ||
chainsaw-step-04-assert-1-1.yaml | ||
chainsaw-test.yaml | ||
policy.yaml | ||
README.md | ||
script.sh |
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.