{{- if not .Values.existingConfigmap }} apiVersion: v1 kind: ConfigMap metadata: name: {{ include "common.fullname" . }} labels: {{- include "common.labels" . | nindent 4 }} data: {{- if .Values.config.debug }} DEBUG: true {{- end }} {{- end }}