apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: selectortests.test.example.com
spec:
  group: test.example.com
  names:
    kind: SelectorTest
    listKind: SelectorTestList
    plural: selectortests
    singular: selectortest
  scope: Namespaced
  versions:
  - name: v1alpha1
    schema:
      openAPIV3Schema:
        type: object
        x-kubernetes-preserve-unknown-fields: true
    served: true
    storage: true
    subresources:
      status: {}
