apiVersion: v1 kind: ConfigMap metadata: name: {{ include "alertmanager.fullname" . }}-config labels: {{- include "alertmanager.labels" . | nindent 4 }} {{- with .Values.configAnnotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }} namespace: {{ include "alertmanager.namespace" . }} data: {{ (.Files.Glob "configmap/alertmanager.yml").AsConfig | nindent 2 }}