HostPathVolumeSource

pydantic model controller.config.HostPathVolumeSource

Path on Kubernetes node to mount in the container.

Parameters:

data (Any)

Show JSON schema
{
   "title": "HostPathVolumeSource",
   "description": "Path on Kubernetes node to mount in the container.",
   "type": "object",
   "properties": {
      "type": {
         "const": "hostPath",
         "enum": [
            "hostPath"
         ],
         "title": "Type of volume to mount",
         "type": "string"
      },
      "path": {
         "description": "Absolute host path to mount in the container",
         "examples": [
            "/home"
         ],
         "pattern": "^/.*",
         "title": "Host path",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "type",
      "path"
   ]
}

Fields:
field path: str [Required]

Absolute host path to mount in the container

Constraints:
  • pattern = ^/.*

field type: Literal['hostPath'] [Required]