mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-29 16:14:42 +00:00
16 lines
387 B
YAML
16 lines
387 B
YAML
|
|
{{- if .Values.config }}
|
||
|
|
apiVersion: v1
|
||
|
|
kind: ConfigMap
|
||
|
|
metadata:
|
||
|
|
name: {{ include "alertmanager.fullname" . }}
|
||
|
|
labels:
|
||
|
|
{{- include "alertmanager.labels" . | nindent 4 }}
|
||
|
|
data:
|
||
|
|
alertmanager.yml: |
|
||
|
|
{{- toYaml .Values.config | default "{}" | nindent 4 }}
|
||
|
|
{{- range $key, $value := .Values.templates }}
|
||
|
|
{{ $key }}: |-
|
||
|
|
{{- $value | nindent 4 }}
|
||
|
|
{{- end }}
|
||
|
|
{{- end }}
|