@jkcfg/kubernetes
Version:
jk Kubernetes library
52 lines • 1.94 kB
JSON
{
"$schema": "http://json-schema.org/schema#",
"required": [
"monitors"
],
"type": "object",
"description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
"properties": {
"secretRef": {
"description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it",
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.LocalObjectReference"
},
"secretFile": {
"type": [
"string",
"null"
],
"description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it"
},
"readOnly": {
"type": "boolean",
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it"
},
"user": {
"type": [
"string",
"null"
],
"description": "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it"
},
"path": {
"type": [
"string",
"null"
],
"description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /"
},
"monitors": {
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
],
"description": "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it"
}
}
}