Kubernetes Configmaps
· ☕ 7 min read · ✍️ Brett Johnson
ConfigMaps enable decoupling of application configuration settings and a pod, improving workload portability. ConfigMaps are a key/value store for non-sensitive information such as; command line argument values, environment-specific strings and URL’s.
Do not use ConfigMaps to store sensitive or encrypted data; instead, use secrets for this use case.
You can create a ConfigMap by using the command kubectl create configmap [NAME] [DATA], where data is entered as literal values or read from a file.