apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: testcrds.deckhouse.io
  labels:
    heritage: deckhouse
spec:
  group: deckhouse.io
  scope: Cluster
  names:
    plural: testcrds
    singular: testcrd
    kind: TestCrd
  preserveUnknownFields: false
  versions:
    - name: v1alpha1
      served: true
      storage: true
      schema:
        openAPIV3Schema:
          type: object
          description: 'Test CRD'
          required:
            - spec
          properties:
            spec:
              type: object
              properties:
                a:
                  type: string
                b:
                  type: string
