I'm running a k8s cluster where I have a configmap with a json file in it.
kubectl describe cm my-cmap
Name: my-cmap
Namespace: default
Labels: <none>
Annotations: <none>
Data
====
mydataJson:
----
{
key1 : value1,
key2 : value2
}
Is there a way to get key1 as an ENV variable in a pod ?