FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
| Name | Type | Description | Notes |
|---|---|---|---|
| driver | str | driver is the name of the driver to use for this volume. | |
| fs_type | str | 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. | [optional] |
| options | Dict[str, str] | options is Optional: this field holds extra command options if any. | [optional] |
| read_only | bool | readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] |
| secret_ref | V1LocalObjectReference | [optional] |
from kubernetes.client.models.v1_flex_volume_source import V1FlexVolumeSource
# TODO update the JSON string below
json = "{}"
# create an instance of V1FlexVolumeSource from a JSON string
v1_flex_volume_source_instance = V1FlexVolumeSource.from_json(json)
# print the JSON string representation of the object
print(V1FlexVolumeSource.to_json())
# convert the object into a dict
v1_flex_volume_source_dict = v1_flex_volume_source_instance.to_dict()
# create an instance of V1FlexVolumeSource from a dict
v1_flex_volume_source_from_dict = V1FlexVolumeSource.from_dict(v1_flex_volume_source_dict)