---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: foos.clux.dev
spec:
  group: clux.dev
  names:
    categories: []
    kind: Foo
    plural: foos
    shortNames: []
    singular: foo
  scope: Namespaced
  versions:
    - additionalPrinterColumns: []
      name: v1
      schema:
        openAPIV3Schema:
          description: "Auto-generated derived type for FooSpec via `CustomResource`"
          properties:
            spec:
              description: Our Foo custom resource spec
              properties:
                info:
                  type: string
                name:
                  type: string
              required:
                - info
                - name
              type: object
            status:
              nullable: true
              properties:
                is_bad:
                  type: boolean
              required:
                - is_bad
              type: object
          required:
            - spec
          title: Foo
          type: object
      served: true
      storage: true
      subresources:
        status: {}
