apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: restarts.command.spark.stackable.tech
spec:
  group: command.spark.stackable.tech
  names:
    kind: Restart
    plural: restarts
    shortNames: []
    singular: restart
  scope: Namespaced
  versions:
    - additionalPrinterColumns: []
      name: v1
      schema:
        openAPIV3Schema:
          description: "Auto-generated derived type for RestartCommandSpec via `CustomResource`"
          properties:
            spec:
              properties:
                name:
                  type: string
              required:
                - name
              type: object
            status:
              nullable: true
              properties:
                finishedAt:
                  nullable: true
                  type: string
                message:
                  enum:
                    - Enqueued
                    - Started
                    - Running
                    - Finished
                    - Error
                  nullable: true
                  type: string
                startedAt:
                  nullable: true
                  type: string
              type: object
          required:
            - spec
          title: Restart
          type: object
      served: true
      storage: true
      subresources:
        status: {}