---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: cephblockpools.ceph.rook.io
spec:
  group: ceph.rook.io
  names:
    kind: CephBlockPool
    listKind: CephBlockPoolList
    plural: cephblockpools
    singular: cephblockpool
  scope: Namespaced
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        properties:
          spec:
            properties:
              annotations:
                nullable: true
                type: object
                x-kubernetes-preserve-unknown-fields: true
              compressionMode:
                enum:
                - ""
                - none
                - passive
                - aggressive
                - force
                type: string
              crushRoot:
                type: string
              deviceClass:
                type: string
              enableRBDStats:
                description: EnableRBDStats is used to enable gathering of statistics for all RBD images in the pool
                type: boolean
              erasureCoded:
                nullable: true
                properties:
                  codingChunks:
                    maximum: 9
                    minimum: 0
                    type: integer
                  dataChunks:
                    maximum: 9
                    minimum: 0
                    type: integer
                type: object
              failureDomain:
                type: string
              mirroring:
                nullable: true
                properties:
                  enabled:
                    type: boolean
                  mode:
                    enum:
                    - image
                    - pool
                    type: string
                  snapshotSchedules:
                    items:
                      nullable: true
                      properties:
                        interval:
                          type: string
                        startTime:
                          type: string
                      type: object
                    type: array
                type: object
              parameters:
                nullable: true
                type: object
                x-kubernetes-preserve-unknown-fields: true
              replicated:
                nullable: true
                properties:
                  replicasPerFailureDomain:
                    type: integer
                  requireSafeReplicaSize:
                    type: boolean
                  size:
                    maximum: 9
                    minimum: 0
                    type: integer
                  subFailureDomain:
                    type: string
                  targetSizeRatio:
                    type: number
                type: object
              statusCheck:
                type: object
                x-kubernetes-preserve-unknown-fields: true
            type: object
          status:
            type: object
            x-kubernetes-preserve-unknown-fields: true
        type: object
    served: true
    storage: true
    subresources:
      status: {}
