1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-12 10:56:54 +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
02-script.yaml
03-create-as-chip.yaml
04-assert.yaml
99-cleanup.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.