---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: redis.api.clever-cloud.com
spec:
  group: api.clever-cloud.com
  names:
    categories: []
    kind: Redis
    plural: redis
    shortNames:
      - r
    singular: redis
  scope: Namespaced
  versions:
    - additionalPrinterColumns: []
      name: v1
      schema:
        openAPIV3Schema:
          description: "Auto-generated derived type for RedisSpec via `CustomResource`"
          properties:
            spec:
              properties:
                instance:
                  properties:
                    plan:
                      type: string
                    region:
                      type: string
                  required:
                    - plan
                    - region
                  type: object
                options:
                  properties:
                    encryption:
                      type: boolean
                    version:
                      enum:
                        - 6010
                      type: integer
                  required:
                    - encryption
                    - version
                  type: object
                organisation:
                  type: string
              required:
                - instance
                - options
                - organisation
              type: object
            status:
              nullable: true
              properties:
                addon:
                  nullable: true
                  type: string
              type: object
          required:
            - spec
          title: Redis
          type: object
      served: true
      storage: true
      subresources:
        status: {}
