core.v1.csiVolumeSource
"Represents a source location of a volume to mount, managed by an external CSI driver"
Index
fn withDriver(driver)
fn withFsType(fsType)
fn withReadOnly(readOnly)
fn withVolumeAttributes(volumeAttributes)
fn withVolumeAttributesMixin(volumeAttributes)
obj nodePublishSecretRef
Fields
fn withDriver
withDriver(driver)
"driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster."
fn withFsType
withFsType(fsType)
"fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply."
fn withReadOnly
withReadOnly(readOnly)
"readOnly specifies a read-only configuration for the volume. Defaults to false (read/write)."
fn withVolumeAttributes
withVolumeAttributes(volumeAttributes)
"volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."
fn withVolumeAttributesMixin
withVolumeAttributesMixin(volumeAttributes)
"volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values."
Note: This function appends passed data to existing values
obj nodePublishSecretRef
"LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace."
fn nodePublishSecretRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"