apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: tutorials.tutorial.digi.dev
spec:
  group: tutorial.digi.dev
  names:
    kind: Tutorial
    listKind: TutorialList
    plural: tutorials
    singular: tutorial
  scope: Namespaced
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        properties:
          apiVersion:
            type: string
          kind:
            type: string
          metadata:
            type: object
          spec:
            properties:
              control:
                properties:
                  name:
                    properties:
                      intent:
                        type: string
                      status:
                        type: string
                    type: object
                type: object
            type: object
        type: object
    served: true
    storage: true
