--- apiVersion: v1 kind: ConfigMap metadata: name: templates namespace: prometheus data: telegram.tmpl: |- {{ define "telegram.aaron" }} {{ range .Alerts }} {{ if eq .Status "firing"}}🔥 {{ .Labels.alertname }} 🔥{{ else }}✅ {{ .Labels.alertname }} ✅{{ end }} {{ .Annotations.summary }} {{ .Annotations.description }} {{ end }} {{ end }}