FlexPersistentVolumeSourcePatch

data class FlexPersistentVolumeSourcePatch(val driver: String? = null, val fsType: String? = null, val options: Map<String, String>? = null, val readOnly: Boolean? = null, val secretRef: SecretReferencePatch? = null)

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

Constructors

Link copied to clipboard
constructor(driver: String? = null, fsType: String? = null, options: Map<String, String>? = null, readOnly: Boolean? = null, secretRef: SecretReferencePatch? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val driver: String? = null

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

Link copied to clipboard
val fsType: String? = null

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.

Link copied to clipboard
val options: Map<String, String>? = null

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

Link copied to clipboard
val readOnly: Boolean? = null

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

Link copied to clipboard

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.