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

16 lines
542 B
YAML

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