1.6 KiB
1.6 KiB
title
| title |
|---|
| Host Path |
:::note
- Examples under each key are only to be used as a placement guide
- See the Full Examples section for complete examples.
:::
Appears in
.Values.persistence.$name
:::tip
- See available persistence keys here.
- This options apply only when
type: hostPath.
:::
hostPath
Define the hostPath
| Key | persistence.$name.hostPath |
| Type | string |
| Required | ✅ |
Helm tpl |
✅ |
| Default | "" |
Example
persistence:
hostpath-vol:
hostPath: /path/to/host
hostPathType
Define the hostPathType
| Key | persistence.$name.hostPathType |
| Type | string |
| Required | ❌ |
Helm tpl |
✅ |
| Default | "" |
Valid Values
""DirectoryOrCreateDirectoryFileOrCreateFileSocketCharDeviceBlockDevice
Example
persistence:
hostpath-vol:
hostPathType: DirectoryOrCreate
Full Examples
persistence:
hostpath-vol:
enabled: true
type: hostPath
mountPath: /path
hostPath: /path/to/host
hostPathType: DirectoryOrCreate