{{- if .Values.config.enabled -}} apiVersion: v1 kind: ConfigMap metadata: name: {{ template "nexus.name" . }}-conf labels: {{ include "nexus.labels" . | indent 4 }} {{- if .Values.nexus.labels }} {{ toYaml .Values.nexus.labels | indent 4 }} {{- end }} data: {{ toYaml .Values.config.data | indent 2 }} {{- end }}