ConfigMaps in Kubernetes
Planted .
Last tended .
They are an API object that allows us to store non-credential data as KV pair.
It could be used to set environment variables for example.
The data can not exceed 1 MiB.
Paths into this note
3 notes lead here
-
Secrets are similar to ConfigMaps but are used to hold confidential data. Since these can be created separately from the pods, there is less risk of it being exposed.
-
First, create a ConfigMap.
-
To create a ConfigMap in Kubernetes: