apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: cachestorageclasses.storage.cloud.atomix.io
spec:
  group: storage.cloud.atomix.io
  names:
    kind: CacheStorageClass
    listKind: CacheStorageClassList
    plural: cachestorageclasses
    singular: cachestorageclass
  scope: Namespaced
  versions:
  - name: v1beta1
    served: true
    storage: true
    schema:
      openAPIV3Schema:
        type: object
        required:
        - spec
        properties:
          spec:
            type: object
            properties:
              image:
                type: string
              imagePullPolicy:
                type: string
              partitionsPerNode:
                type: integer
                minimum: 1
                maximum: 1024
                default: 1