VolumeMount Class

VolumeMount.

Constructor

VolumeMount(*args: Any, **kwargs: Any)

Variables

Name Description
volume_sub_path
str

Sub path in the volume where volume is mounted from. Required.

container_mount_path
str

Target path on the container where volume is mounted on. Required.

data
str

Config Data to be mounted on the volume.

read_only

Boolean to specify if the mount is read only on the container.

Attributes

container_mount_path

Target path on the container where volume is mounted on. Required.

container_mount_path: str

data

Config Data to be mounted on the volume.

data: str | None

read_only

Boolean to specify if the mount is read only on the container.

read_only: bool | None

volume_sub_path

Sub path in the volume where volume is mounted from. Required.

volume_sub_path: str