c12s-kubespray/roles/kubernetes-apps/prometheus/templates/alertmanager-main-configmap.yml.j2
2017-02-28 07:59:58 -06:00

13 lines
383 B
Django/Jinja

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) }}