apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this name: "[Stable] Authorization" crd: 0000_03_authorization-openshift_01_rolebindingrestriction.crd.yaml tests: onCreate: - name: Should be able to create a minimal RoleBindingRestriction initial: | apiVersion: authorization.openshift.io/v1 kind: RoleBindingRestriction spec: {} # No spec is required for a RoleBindingRestriction expected: | apiVersion: authorization.openshift.io/v1 kind: RoleBindingRestriction spec: {}