{{- if .Values.controller.configmap.enabled }} apiVersion: v1 kind: ConfigMap metadata: name: neuvector-init namespace: {{ .Release.Namespace }} labels: chart: {{ template "neuvector.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} data: {{ toYaml .Values.controller.configmap.data | indent 2 }} {{- end }}