Updated on 2025-06-13 GMT+08:00

Data

It provides the main configuration information stored in a ConfigMap.

Value Range

Arrays in key-value pairs.

  • Enter 1 to 253 characters for a key. Only lowercase letters, digits, hyphens (-), underscores (_), and periods (.) are allowed.
  • There are no special restrictions on this value.

The total data size cannot exceed 1 MiB.

Default Value

None

Modifiable

Yes

Suggestions

Map ConfigMaps to keys in data to prevent multiple configuration structures from being maintained as one item in data. Otherwise items may be unintentionally overwritten during configuration update.

ConfigMaps does not have data security systems in place, like encryption. Do not store sensitive information, like credentials, in ConfigMaps, or there will be security issues such as potential data leaks of sensitive information.