I have a configmap created. I have added data as a key-value pair in configmap
data:
EXTERNAL_CONFIG_FILE: /user/app/api/config
I need to use this variable to set a mount path in deployment
- name: config-properties-volume-mnt
mountPath: {{ $EXTERNAL_CONFIG_FILE }}
I am getting undefined variable "$EXTERNAL_CONFIG_FILE" while deploying. I do not want to define this variable in values.yaml. Is there a way where I can use this variable defined in configmap in deployment?