UNPKG

@jkcfg/kubernetes

Version:
58 lines 2.78 kB
{ "$schema": "http://json-schema.org/schema#", "required": [ "driver", "volumeHandle" ], "type": "object", "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)", "properties": { "nodeStageSecretRef": { "description": "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", "$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.SecretReference" }, "driver": { "type": [ "string", "null" ], "description": "Driver is the name of the driver to use for this volume. Required." }, "volumeAttributes": { "additionalProperties": { "type": [ "string", "null" ] }, "type": "object", "description": "Attributes of the volume to publish." }, "controllerPublishSecretRef": { "description": "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", "$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.SecretReference" }, "fsType": { "type": [ "string", "null" ], "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"." }, "readOnly": { "type": "boolean", "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)." }, "volumeHandle": { "type": [ "string", "null" ], "description": "VolumeHandle is the unique volume name returned by the CSI volume plugin\u2019s CreateVolume to refer to the volume on all subsequent calls. Required." }, "nodePublishSecretRef": { "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", "$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.SecretReference" } } }