...
1apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
2name: "[Stable] Authorization"
3crd: 0000_03_authorization-openshift_01_rolebindingrestriction.crd.yaml
4tests:
5 onCreate:
6 - name: Should be able to create a minimal RoleBindingRestriction
7 initial: |
8 apiVersion: authorization.openshift.io/v1
9 kind: RoleBindingRestriction
10 spec: {} # No spec is required for a RoleBindingRestriction
11 expected: |
12 apiVersion: authorization.openshift.io/v1
13 kind: RoleBindingRestriction
14 spec: {}
View as plain text