|
How to use ConfigMap as Environment variables
Author: Venkata Sudhakar
The below example shows how to use ConfigMap as Environment variables. First create ConfigMap with required key value pairs. Next inject the desired ConfigMap using envFrom in container specification.
Now create a POD from the above definition, log into the container and inspect the newly added environment variables from ConfigMap.
|
|