{{- if .Values.filebeat.enabled }} --- apiVersion: v1 kind: ConfigMap metadata: name: {{ template "artifactory-ha.fullname" . }}-filebeat-config labels: app: {{ template "artifactory-ha.name" . }} chart: {{ .Chart.Name }}-{{ .Chart.Version }} heritage: {{ .Release.Service | quote }} release: {{ .Release.Name | quote }} data: filebeat.yml: | {{ tpl .Values.filebeat.filebeatYml . | indent 4 }} {{- end -}}