Files
open-cluster-management/vendor/github.com/openshift/api/authorization/v1/stable.rolebindingrestriction.testsuite.yaml
xuezhaojun ad38b9465f Relocate pkgs. (#146)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-29 07:20:55 -04:00

15 lines
566 B
YAML

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: {}