Host Path
Appears in
- .Values.persistence.$name
hostPath
Define the hostPath
| Key | persistence.$name.hostPath | 
| Type | string | 
| Required | ✅ | 
| Helm tpl | ✅ | 
| Default | "" | 
Example
persistence:  hostpath-vol:    hostPath: /path/to/hosthostPathType
Define the hostPathType
| Key | persistence.$name.hostPathType | 
| Type | string | 
| Required | ❌ | 
| Helm tpl | ✅ | 
| Default | "" | 
Valid Values
- ""
- DirectoryOrCreate
- Directory
- FileOrCreate
- File
- Socket
- CharDevice
- BlockDevice
Example
persistence:  hostpath-vol:    hostPathType: DirectoryOrCreateFull Examples
persistence:  hostpath-vol:    enabled: true    type: hostPath    mountPath: /path    hostPath: /path/to/host    hostPathType: DirectoryOrCreate