I am looking for a way to get environment variable in data section of configmap. In the below yml configuration, I have assigned $NODE_NAME which didn't help me. Is there any way to get this work
apiVersion: v1
kind: ConfigMap
metadata:
name: config
namespace: kube-system
data:
test.conf: |
{
"push": 5,
"test": $NODE_NAME
}