1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 18:06:55 +00:00
kyverno/test/conformance/chainsaw/rbac/mutate-policy-with-clusterrole/chainsaw-test.yaml
Mariam Fahmy f35b449435
feat: add tests checking policy creation (#10816)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
2024-08-08 14:18:17 +00:00

17 lines
326 B
YAML

apiVersion: chainsaw.kyverno.io/v1alpha1
kind: Test
metadata:
creationTimestamp: null
name: mutate-policy-with-clusterrole
spec:
steps:
- name: step-01
try:
- apply:
file: clusterrole.yaml
- name: step-02
try:
- apply:
file: policy.yaml
- assert:
file: policy-assert.yaml