Skip to content

core.v1.csiPersistentVolumeSource

"Represents storage that is managed by an external CSI volume driver (Beta feature)"

Index

Fields

fn withDriver

withDriver(driver)

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

fn withFsType

withFsType(fsType)

"fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"."

fn withReadOnly

withReadOnly(readOnly)

"readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write)."

fn withVolumeAttributes

withVolumeAttributes(volumeAttributes)

"volumeAttributes of the volume to publish."

fn withVolumeAttributesMixin

withVolumeAttributesMixin(volumeAttributes)

"volumeAttributes of the volume to publish."

Note: This function appends passed data to existing values

fn withVolumeHandle

withVolumeHandle(volumeHandle)

"volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required."

obj controllerExpandSecretRef

"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"

fn controllerExpandSecretRef.withName

withName(name)

"name is unique within a namespace to reference a secret resource."

fn controllerExpandSecretRef.withNamespace

withNamespace(namespace)

"namespace defines the space within which the secret name must be unique."

obj controllerPublishSecretRef

"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"

fn controllerPublishSecretRef.withName

withName(name)

"name is unique within a namespace to reference a secret resource."

fn controllerPublishSecretRef.withNamespace

withNamespace(namespace)

"namespace defines the space within which the secret name must be unique."

obj nodeExpandSecretRef

"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"

fn nodeExpandSecretRef.withName

withName(name)

"name is unique within a namespace to reference a secret resource."

fn nodeExpandSecretRef.withNamespace

withNamespace(namespace)

"namespace defines the space within which the secret name must be unique."

obj nodePublishSecretRef

"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"

fn nodePublishSecretRef.withName

withName(name)

"name is unique within a namespace to reference a secret resource."

fn nodePublishSecretRef.withNamespace

withNamespace(namespace)

"namespace defines the space within which the secret name must be unique."

obj nodeStageSecretRef

"SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace"

fn nodeStageSecretRef.withName

withName(name)

"name is unique within a namespace to reference a secret resource."

fn nodeStageSecretRef.withNamespace

withNamespace(namespace)

"namespace defines the space within which the secret name must be unique."