VolumeMountPatchArgs

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

VolumeMount describes a mounting of a Volume within a container.

Constructors

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

Properties

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

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

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

mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.

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

This must match the Name of a Volume.

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

Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.

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).

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

Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive.

Functions

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