CSIPersistentVolumeSourceArgs

data class CSIPersistentVolumeSourceArgs(val controllerExpandSecretRef: Output<SecretReferenceArgs>? = null, val controllerPublishSecretRef: Output<SecretReferenceArgs>? = null, val driver: Output<String>, val fsType: Output<String>? = null, val nodeExpandSecretRef: Output<SecretReferenceArgs>? = null, val nodePublishSecretRef: Output<SecretReferenceArgs>? = null, val nodeStageSecretRef: Output<SecretReferenceArgs>? = null, val readOnly: Output<Boolean>? = null, val volumeAttributes: Output<Map<String, String>>? = null, val volumeHandle: Output<String>) : ConvertibleToJava<CSIPersistentVolumeSourceArgs>

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

Constructors

Link copied to clipboard
constructor(controllerExpandSecretRef: Output<SecretReferenceArgs>? = null, controllerPublishSecretRef: Output<SecretReferenceArgs>? = null, driver: Output<String>, fsType: Output<String>? = null, nodeExpandSecretRef: Output<SecretReferenceArgs>? = null, nodePublishSecretRef: Output<SecretReferenceArgs>? = null, nodeStageSecretRef: Output<SecretReferenceArgs>? = null, readOnly: Output<Boolean>? = null, volumeAttributes: Output<Map<String, String>>? = null, volumeHandle: Output<String>)

Properties

Link copied to clipboard

controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.

Link copied to clipboard

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

Link copied to clipboard
val driver: Output<String>

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

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

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

Link copied to clipboard

nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This is a beta field which is enabled default by CSINodeExpandSecret feature gate. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed.

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 secrets are passed.

Link copied to clipboard

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

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

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

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

volumeAttributes of the volume to publish.

Link copied to clipboard
val volumeHandle: Output<String>

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

Functions

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