Book icon

ConfigMap


Name says it all. ConfigMaps are used for holding configuration data as key-value pairs. Data held in ConfigMap should not be sensitive. If you need to store sensitive data then you should use Secrets instead. More than often an application uses the combination of those two resources.

Abbreviated alias: cm

Useful links

Configuring containers using ConfigMaps – https://kubernetes.io/docs/tasks/configure-pod-container/configmap/

How to use ConfigMap written data –  https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/