Files
Kjeld Schouten 899cfb71b3 add common docs
2025-10-15 15:11:59 +02:00

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

  • ""
  • DirectoryOrCreate
  • Directory
  • FileOrCreate
  • File
  • Socket
  • CharDevice
  • BlockDevice

Example

persistence:
  hostpath-vol:
    hostPathType: DirectoryOrCreate

Full Examples

persistence:
  hostpath-vol:
    enabled: true
    type: hostPath
    mountPath: /path
    hostPath: /path/to/host
    hostPathType: DirectoryOrCreate