apiVersion: v1 kind: ConfigMap metadata: name: {{ .Release.Name }}-configmap data: myvalue: "Hello World" drink: {{ .Values.favouriteDrink }} --- apiVersion: v1 kind: ConfigMap metadata: name: {{ .Release.Name }}-nginx-container2 data: default.conf: | server { listen {{ .Values.container2.port }}; location / { root /usr/share/nginx/html; index index.html index.htm; } } --- apiVersion: v1 kind: ConfigMap metadata: name: {{ .Release.Name }}-nginx-container3 data: default.conf: | server { listen {{ .Values.container3.port }}; location / { root /usr/share/nginx/html; index index.html index.htm; } }