apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: myv1resources.operator.openshift.io
spec:
  group: operator.openshift.io
  names:
    kind: MyV1Resource
    plural: myv1resources
  scope: ""
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        properties:
          apiVersion:
            pattern: ^(test|TEST)$
    served: true
    storage: true
    subresources:
      status: {}
