tags: machine: frontdrive rack: 4c drive: ssd vcard: 8g {{- with .Values.tags }} Machine Type: {{ .machine | default "NA" | quote }} Rack ID: {{ .rack | quote }} Storage Type: {{ .drive | upper | quote }} Video Card: {{ .vcard | quote }} {{- end }} ~~~~~~~~~~~~~~~~~~~~~~~~ metadata: name: {{ .Release.Name}}-configmap labels: {{- with .Values.tags }} first: {{ .machine }} second: {{ .rack }} third: {{ .drive }} {{- end }} ~~~~ {{- with .Values.tags }} Machine Type: {{ .machine | default "NA" | quote }} Rack ID: {{ .rack | quote }} Storage Type: {{ .drive | upper | quote }} Video Card: {{ .vcard | quote }} Release: {{ .Release.Name }} {{- end }} # can be solved this issue using variables ~~~~~ {{- with .Values.tags }} Machine Type: {{ .machine | default "NA" | quote }} Rack ID: {{ .rack | quote }} Storage Type: {{ .drive | upper | quote }} Video Card: {{ .vcard | quote }} {{- end }} Release: {{ .Release.Name }} helm install --dry-run --debug withscope ./mychart