CSIVolumeSourcePatchArgs

data class CSIVolumeSourcePatchArgs(val driver: Output<String>? = null, val fsType: Output<String>? = null, val nodePublishSecretRef: Output<LocalObjectReferencePatchArgs>? = null, val readOnly: Output<Boolean>? = null, val volumeAttributes: Output<Map<String, String>>? = null) : ConvertibleToJava<CSIVolumeSourcePatchArgs>

Represents a source location of a volume to mount, managed by an external CSI driver

Constructors

Link copied to clipboard
constructor(driver: Output<String>? = null, fsType: Output<String>? = null, nodePublishSecretRef: Output<LocalObjectReferencePatchArgs>? = null, readOnly: Output<Boolean>? = null, volumeAttributes: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val driver: Output<String>? = null

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.

Link copied to clipboard
val fsType: Output<String>? = null

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.

Link copied to clipboard

nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.

Link copied to clipboard
val readOnly: Output<Boolean>? = null

readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).

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

volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.

Functions

Link copied to clipboard
open override fun toJava(): CSIVolumeSourcePatchArgs