Skip to content

Configmap

  • .Values.persistence.$name

Define the configmap name.

Keypersistence.$name.objectName
Typestring
Required
Helm tpl
Default""

Example

persistence:
configmap-vol:
objectName: configmap-name

Whether to expand (adding the fullname as prefix) the configmap name.

Keypersistence.$name.expandObjectName
Typebool
Required
Helm tpl
Defaulttrue

Example

persistence:
configmap-vol:
expandObjectName: false

Whether the configmap should be required or not.

Keypersistence.$name.optional
Typebool
Required
Helm tpl
Defaultfalse

Example

persistence:
configmap-vol:
optional: false

Define the defaultMode (must be a string in format of “0777”).

Keypersistence.$name.defaultMode
Typestring
Required
Helm tpl
Default""

Example

persistence:
configmap-vol:
defaultMode: "0777"

Define a list of items for configmap.

Keypersistence.$name.items
Typelist
Required
Helm tpl
Default[]

Example

persistence:
configmap-vol:
items:
- key: key1
path: path1
- key: key2
path: path2

Define the key of the configmap.

Keypersistence.$name.items[].key
Typestring
Required
Helm tpl
Default""

Example

persistence:
configmap-vol:
items:
- key: key1
path: path1

Define the path.

Keypersistence.$name.items[].path
Typestring
Required
Helm tpl
Default""

Example

persistence:
configmap-vol:
items:
- key: key1
path: path1

persistence:
configmap-vol:
enabled: true
type: configmap
objectName: configmap-name
expandObjectName: false
optional: false
defaultMode: "0777"
items:
- key: key1
path: path1
- key: key2
path: path2