c12s-kubespray/roles/kubernetes-apps/prometheus/templates/alertmanager-main-configmap.yml.j2

14 lines
383 B
Text
Raw Normal View History

2017-02-03 22:24:39 +00:00
apiVersion: v1
kind: ConfigMap
metadata:
name: alertmanager-main
creationTimestamp: null
data:
alertmanager.yaml: |-
global:
{{ alertmanager_config_global | to_nice_yaml | indent(6, False) }}
route:
{{ alertmanager_config_route | to_nice_yaml | indent(6, False)}}
receivers:
{{ alertmanager_config_receivers | to_nice_yaml | indent(6, False) }}