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