Configmap
Appears in
.Values.configmap
Naming scheme
$FullName-$ConfigmapName(release-name-chart-name-configmap-name)
configmap
Create Configmap objects
| Key | configmap |
| Type | map |
| Required | ❌ |
Helm tpl | ❌ |
| Default | {} |
Example
configmap: {}$name
Define Configmap
| Key | configmap.$name |
| Type | map |
| Required | ✅ |
Helm tpl | ❌ |
| Default | {} |
Example
configmap: configmap-name: {}enabled
Enables or Disables the Configmap
| Key | configmap.$name.enabled |
| Type | bool |
| Required | ✅ |
Helm tpl | ✅ |
| Default | false |
Example
configmap: configmap-name: enabled: truenamespace
Define the namespace for this object
| Key | configmap.$name.namespace |
| Type | string |
| Required | ❌ |
Helm tpl | ✅ |
| Default | "" |
Example
configmap: configmap-name: namespace: some-namespacelabels
Additional labels for configmap
| Key | configmap.$name.labels |
| Type | map |
| Required | ❌ |
Helm tpl | ✅ (On value only) |
| Default | {} |
Example
configmap: configmap-name: labels: key: valueannotations
Additional annotations for configmap
| Key | configmap.$name.annotations |
| Type | map |
| Required | ❌ |
Helm tpl | ✅ (On value only) |
| Default | {} |
Example
configmap: configmap-name: annotations: key: valuedata
Define the data of the configmap
| Key | configmap.$name.data |
| Type | map |
| Required | ✅ |
Helm tpl | ✅ |
| Example | {} |
configmap: configmap-name: data: key: valueFull 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