VolumeMountConfig#
- pydantic model nublado.controller.config.VolumeMountConfig#
The mount of a volume inside a container.
- Parameters:
data (
Any)
Show JSON schema
{ "title": "VolumeMountConfig", "description": "The mount of a volume inside a container.", "type": "object", "properties": { "containerPath": { "description": "Absolute path at which to mount the volume in the lab container", "examples": [ "/home" ], "pattern": "^/.*", "title": "Path inside container", "type": "string" }, "subPath": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Mount only this sub-path of the volume source", "examples": [ "groups" ], "title": "Sub-path of source to mount" }, "readOnly": { "default": false, "description": "Whether this mount of the volume should be read-only", "examples": [ true ], "title": "Is read-only", "type": "boolean" }, "volumeName": { "description": "Name of the volume to mount", "title": "Volume name", "type": "string" } }, "additionalProperties": false, "required": [ "containerPath", "volumeName" ] }
-
field containerPath:
Annotated[str] [Required] (name 'container_path')# Absolute path at which to mount the volume in the lab container
- Constraints:
pattern = ^/.*
func = <function _reject_reserved_paths at 0x7fabbe1ad6f0>
-
field readOnly:
Annotated[bool] = False (name 'read_only')# Whether this mount of the volume should be read-only