I have the following files
mychart/templates/configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Values.env.{{lle.dev}} }}-configmap
data:
myvalue: "Hello World"
mychart/values.yaml
env:
lle.dev: ABC
lle.qa: CDE
How do I access the values in the helm template? nested curly braces are also not allowed. Also the below didn't work
name: {{ .Values.env.lle.dev }}-configmap
Reason being it is considering lle, dev as a separate sub keys for env and not as a single key.