@jkcfg/kubernetes
Version:
jk Kubernetes library
42 lines • 1.53 kB
JSON
{
"$schema": "http://json-schema.org/schema#",
"required": [
"driver"
],
"type": "object",
"description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.",
"properties": {
"readOnly": {
"type": "boolean",
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."
},
"fsType": {
"type": [
"string",
"null"
],
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script."
},
"driver": {
"type": [
"string",
"null"
],
"description": "Driver is the name of the driver to use for this volume."
},
"secretRef": {
"description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.",
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.SecretReference"
},
"options": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"type": "object",
"description": "Optional: Extra command options if any."
}
}
}