1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/conformance/kuttl/mutate/clusterpolicy/standard/userInfo-roles-clusterRoles
Chip Zoller da18305015
add kuttl tests (#5204)
- add kuttl tests
- try rekor: {url: "https://rekor.sigstore.dev"}
- add rekor{} object to last two policies

Signed-off-by: Chip Zoller <chipzoller@gmail.com>
2022-11-04 14:00:31 +00:00
..
01-manifests.yaml add kuttl tests (#5204) 2022-11-04 14:00:31 +00:00
02-script.yaml add kuttl tests (#5204) 2022-11-04 14:00:31 +00:00
03-create-as-chip.yaml add kuttl tests (#5204) 2022-11-04 14:00:31 +00:00
04-assert.yaml add kuttl tests (#5204) 2022-11-04 14:00:31 +00:00
99-cleanup.yaml add kuttl tests (#5204) 2022-11-04 14:00:31 +00:00
README.md add kuttl tests (#5204) 2022-11-04 14:00:31 +00:00
script.sh add kuttl tests (#5204) 2022-11-04 14:00:31 +00: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.