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", "title": "Type", "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: Annotated[str, Field(title='Host path', description='Absolute host path to mount in the container', examples=['/home'], pattern='^/.*')] [Required]¶
Absolute host path to mount in the container
- Constraints:
pattern = ^/.*
- field type: Literal['hostPath'] [Required]¶