Skip to main content
Schemaobject

io.k8s.api.core.v1.FlexVolumeSource

FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.

Source
specs/apis__apps__v1_openapi.json
Revision
9a79c3bd90f7
Active snapshot
2a9112600697
driver string
required

driver is the name of the driver to use for this volume.

fsType string
optional

fsType is the 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.

options object
optional

options is Optional: this field holds extra command options if any.

readOnly boolean
optional

readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

secretRef
optional

secretRef is 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.