Configmap
Appears in
Section titled “Appears in”.Values.configmap
Naming scheme
Section titled “Naming scheme”$FullName-$ConfigmapName(release-name-chart-name-configmap-name)
configmap
Section titled “configmap”Create Configmap objects
| Key | configmap |
| Type | map |
| Required | ❌ |
Helm tpl | ❌ |
| Default | {} |
Example
configmap: {}Define Configmap
| Key | configmap.$name |
| Type | map |
| Required | ✅ |
Helm tpl | ❌ |
| Default | {} |
Example
configmap: configmap-name: {}enabled
Section titled “enabled”Enables or Disables the Configmap
| Key | configmap.$name.enabled |
| Type | bool |
| Required | ✅ |
Helm tpl | ✅ |
| Default | false |
Example
configmap: configmap-name: enabled: truenamespace
Section titled “namespace”Define the namespace for this object
| Key | configmap.$name.namespace |
| Type | string |
| Required | ❌ |
Helm tpl | ✅ |
| Default | "" |
Example
configmap: configmap-name: namespace: some-namespacelabels
Section titled “labels”Additional labels for configmap
| Key | configmap.$name.labels |
| Type | map |
| Required | ❌ |
Helm tpl | ✅ (On value only) |
| Default | {} |
Example
configmap: configmap-name: labels: key: valueannotations
Section titled “annotations”Additional annotations for configmap
| Key | configmap.$name.annotations |
| Type | map |
| Required | ❌ |
Helm tpl | ✅ (On value only) |
| Default | {} |
Example
configmap: configmap-name: annotations: key: valueDefine the data of the configmap
| Key | configmap.$name.data |
| Type | map |
| Required | ✅ |
Helm tpl | ✅ |
| Example | {} |
configmap: configmap-name: data: key: valueFull Examples
Section titled “Full Examples”configmap: configmap-name: enabled: true labels: key: value keytpl: "{{ .Values.some.value }}" annotations: key: value keytpl: "{{ .Values.some.value }}" data: key: value
other-configmap-name: enabled: true namespace: some-namespace data: key: | multi line text value