Skip to content

Configmap

Appears in

  • .Values.configmap

Naming scheme

  • $FullName-$ConfigmapName (release-name-chart-name-configmap-name)

configmap

Create Configmap objects

Keyconfigmap
Typemap
Required
Helm tpl
Default{}

Example

configmap: {}

$name

Define Configmap

Keyconfigmap.$name
Typemap
Required
Helm tpl
Default{}

Example

configmap:
configmap-name: {}

enabled

Enables or Disables the Configmap

Keyconfigmap.$name.enabled
Typebool
Required
Helm tpl
Defaultfalse

Example

configmap:
configmap-name:
enabled: true

namespace

Define the namespace for this object

Keyconfigmap.$name.namespace
Typestring
Required
Helm tpl
Default""

Example

configmap:
configmap-name:
namespace: some-namespace

labels

Additional labels for configmap

Keyconfigmap.$name.labels
Typemap
Required
Helm tpl✅ (On value only)
Default{}

Example

configmap:
configmap-name:
labels:
key: value

annotations

Additional annotations for configmap

Keyconfigmap.$name.annotations
Typemap
Required
Helm tpl✅ (On value only)
Default{}

Example

configmap:
configmap-name:
annotations:
key: value

data

Define the data of the configmap

Keyconfigmap.$name.data
Typemap
Required
Helm tpl
Example{}
configmap:
configmap-name:
data:
key: value

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