apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: tests.migrationtest.k8s.io
spec:
  group: migrationtest.k8s.io
  names:
    kind: Test
    listKind: TestList
    plural: tests
    singular: test
  scope: Namespaced
  versions:
  - name: v1
    served: true
    storage: true
  - name: v2
    served: true
    storage: false
