core.v1.flexPersistentVolumeSource
"FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin."
Index
fn withDriver(driver)
fn withFsType(fsType)
fn withOptions(options)
fn withOptionsMixin(options)
fn withReadOnly(readOnly)
obj secretRef
Fields
fn withDriver
withDriver(driver)
"driver is the name of the driver to use for this volume."
fn withFsType
withFsType(fsType)
"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."
fn withOptions
withOptions(options)
"options is Optional: this field holds extra command options if any."
fn withOptionsMixin
withOptionsMixin(options)
"options is Optional: this field holds extra command options if any."
Note: This function appends passed data to existing values
fn withReadOnly
withReadOnly(readOnly)
"readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts."
obj secretRef
"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"
fn secretRef.withName
withName(name)
"name is unique within a namespace to reference a secret resource."
fn secretRef.withNamespace
withNamespace(namespace)
"namespace defines the space within which the secret name must be unique."