---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.5.1-0.20210420220833-f284e2e8098c
  name: cephobjectstoreusers.ceph.rook.io
spec:
  group: ceph.rook.io
  names:
    kind: CephObjectStoreUser
    listKind: CephObjectStoreUserList
    plural: cephobjectstoreusers
    shortNames:
    - rcou
    - objectuser
    singular: cephobjectstoreuser
  scope: Namespaced
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        properties:
          apiVersion:
            type: string
          kind:
            type: string
          metadata:
            type: object
          spec:
            properties:
              capabilities:
                nullable: true
                properties:
                  bucket:
                    enum:
                    - '*'
                    - read
                    - write
                    - read, write
                    type: string
                  metadata:
                    enum:
                    - '*'
                    - read
                    - write
                    - read, write
                    type: string
                  usage:
                    enum:
                    - '*'
                    - read
                    - write
                    - read, write
                    type: string
                  user:
                    enum:
                    - '*'
                    - read
                    - write
                    - read, write
                    type: string
                  zone:
                    enum:
                    - '*'
                    - read
                    - write
                    - read, write
                    type: string
                type: object
              displayName:
                type: string
              quotas:
                nullable: true
                properties:
                  maxBuckets:
                    nullable: true
                    type: integer
                  maxObjects:
                    format: int64
                    nullable: true
                    type: integer
                  maxSize:
                    anyOf:
                    - type: integer
                    - type: string
                    nullable: true
                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                    x-kubernetes-int-or-string: true
                type: object
              store:
                type: string
            type: object
          status:
            properties:
              info:
                additionalProperties:
                  type: string
                nullable: true
                type: object
              phase:
                type: string
            type: object
            x-kubernetes-preserve-unknown-fields: true
        required:
        - metadata
        - spec
        type: object
    served: true
    storage: true
    subresources:
      status: {}
