concept configmap in category microservice

appears as: ConfigMap, configmaps
Microservices Security in Action

This is an excerpt from Manning's book Microservices Security in Action.

11.2.4 Defining a ConfigMap for keystore credentials

First, don’t do this in a production deployment! Kubernetes stores anything that you store in a ConfigMap in cleartext. To store credentials in a Kubernetes deployment, we use a Kubernetes object called Secret instead of a ConfigMap. We talk about Secrets later in section 11.3. Until then, we’ll define keystore credentials in a ConfigMap.

\> kubectl get configmaps


NAME                                        DATA   AGE
sts-application-properties-config-map       1      50s
sts-keystore-config-map                     0      50s
sts-jwt-keystore-config-map                 0      50s
sts-keystore-credentials                    2      50s