apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: cephconnections.csi.ceph.io
  annotations:
    controller-gen.kubebuilder.io/version: v0.17.2
  labels:
    helm.sh/chart: ceph-csi-operator-0.4.1
    app.kubernetes.io/name: ceph-csi
    app.kubernetes.io/instance: rook-ceph
    app.kubernetes.io/version: "v0.4.1"
    app.kubernetes.io/managed-by: Helm
spec:
  group: csi.ceph.io
  names:
    kind: CephConnection
    listKind: CephConnectionList
    plural: cephconnections
    singular: cephconnection
  scope: Namespaced
  versions:
    - name: v1
      schema:
        openAPIV3Schema:
          description: CephConnection is the Schema for the cephconnections API
          properties:
            apiVersion:
              description: |-
                APIVersion defines the versioned schema of this representation of an object.
                Servers should convert recognized schemas to the latest internal value, and
                may reject unrecognized values.
                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
              type: string
            kind:
              description: |-
                Kind is a string value representing the REST resource this object represents.
                Servers may infer this from the endpoint the client submits requests to.
                Cannot be updated.
                In CamelCase.
                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
              type: string
            metadata:
              type: object
            spec:
              description: CephConnectionSpec defines the desired state of CephConnection
              properties:
                monitors:
                  items:
                    type: string
                  minItems: 1
                  type: array
                rbdMirrorDaemonCount:
                  minimum: 1
                  type: integer
                readAffinity:
                  description: ReadAffinitySpec capture Ceph CSI read affinity settings
                  properties:
                    crushLocationLabels:
                      items:
                        type: string
                      minItems: 1
                      type: array
                  required:
                    - crushLocationLabels
                  type: object
              required:
                - monitors
              type: object
            status:
              description: CephConnectionStatus defines the observed state of CephConnection
              type: object
          type: object
      served: true
      storage: true
      subresources:
        status: {}
    - deprecated: true
      deprecationWarning: v1alpha1 is deprecated, please use v1
      name: v1alpha1
      schema:
        openAPIV3Schema:
          description: CephConnection is the Schema for the cephconnections API
          properties:
            apiVersion:
              description: |-
                APIVersion defines the versioned schema of this representation of an object.
                Servers should convert recognized schemas to the latest internal value, and
                may reject unrecognized values.
                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
              type: string
            kind:
              description: |-
                Kind is a string value representing the REST resource this object represents.
                Servers may infer this from the endpoint the client submits requests to.
                Cannot be updated.
                In CamelCase.
                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
              type: string
            metadata:
              type: object
            spec:
              description: CephConnectionSpec defines the desired state of CephConnection
              properties:
                monitors:
                  items:
                    type: string
                  minItems: 1
                  type: array
                rbdMirrorDaemonCount:
                  minimum: 1
                  type: integer
                readAffinity:
                  description: ReadAffinitySpec capture Ceph CSI read affinity settings
                  properties:
                    crushLocationLabels:
                      items:
                        type: string
                      minItems: 1
                      type: array
                  required:
                    - crushLocationLabels
                  type: object
              required:
                - monitors
              type: object
            status:
              description: CephConnectionStatus defines the observed state of CephConnection
              type: object
          type: object
      served: true
      storage: false
      subresources:
        status: {}
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []
