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