VolumeMountArgs

data class VolumeMountArgs(val mountPath: Output<String>, val name: Output<String>, val readOnly: Output<Boolean>? = null, val subPath: Output<String>? = null) : ConvertibleToJava<VolumeMountArgs>

VolumeMount describes a mounting of a Volume within a container.

Constructors

Link copied to clipboard
fun VolumeMountArgs(mountPath: Output<String>, name: Output<String>, readOnly: Output<Boolean>? = null, subPath: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val mountPath: Output<String>

Path within the container at which the volume should be mounted. Must not contain ':'.

Link copied to clipboard
val name: Output<String>

The name of the volume. There must be a corresponding Volume with the same name.

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

Only true is accepted for Secret Volumes. Defaults to true for Secrets Volumes.

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

Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).