{
  "description": "ClientProfile is the Schema for the clientprofiles API",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore 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.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "description": "ClientProfileSpec defines the desired state of Ceph CSI\nconfiguration for volumes and snapshots configured to use\nthis profile",
      "properties": {
        "cephConnectionRef": {
          "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.",
          "properties": {
            "name": {
              "default": "",
              "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
              "type": "string"
            }
          },
          "type": "object",
          "x-kubernetes-map-type": "atomic",
          "x-kubernetes-validations": [
            {
              "message": "'.name' cannot be empty",
              "rule": "self.name != \"\""
            }
          ],
          "additionalProperties": false
        },
        "cephFs": {
          "description": "CephFsConfigSpec defines the desired CephFs configuration",
          "properties": {
            "fuseMountOptions": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "kernelMountOptions": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "radosNamespace": {
              "type": "string",
              "x-kubernetes-validations": [
                {
                  "message": "field is immutable",
                  "rule": "self == oldSelf"
                }
              ]
            },
            "subVolumeGroup": {
              "type": "string"
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "nfs": {
          "description": "NfsConfigSpec cdefines the desired NFS configuration",
          "type": "object"
        },
        "rbd": {
          "description": "RbdConfigSpec defines the desired RBD configuration",
          "properties": {
            "radosNamespace": {
              "type": "string",
              "x-kubernetes-validations": [
                {
                  "message": "field is immutable",
                  "rule": "self == oldSelf"
                }
              ]
            }
          },
          "type": "object",
          "additionalProperties": false
        }
      },
      "required": [
        "cephConnectionRef"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "ClientProfileStatus defines the observed state of Ceph CSI\nconfiguration for volumes and snapshots configured to use\nthis profile",
      "type": "object"
    }
  },
  "type": "object"
}
