test(pillar/repo): avoid alertmanager
config where newer than package
* `smtp_hello` (v0.8.0): -a566036015
* `http_config` (v0.15.0-rc.0): -d678022fea
This commit is contained in:
parent
35fad9bca6
commit
83efb0b434
@ -14,6 +14,7 @@ ignore: |
|
||||
test/**/states/**/*.sls
|
||||
.kitchen/
|
||||
prometheus/osfamilymap.yaml
|
||||
test/salt/pillar/repo.sls
|
||||
|
||||
yaml-files:
|
||||
# Default settings
|
||||
|
@ -49,10 +49,12 @@ prometheus:
|
||||
smtp_from: 'alertmanager@example.org'
|
||||
smtp_auth_username: 'alertmanager'
|
||||
smtp_auth_password: "multiline\nmysecret"
|
||||
smtp_hello: "host.example.org"
|
||||
slack_api_url: "http://mysecret.example.com/"
|
||||
{%- if grains.get('oscodename', '') not in ['stretch', 'bionic'] %}
|
||||
smtp_hello: "host.example.org"
|
||||
http_config:
|
||||
proxy_url: 'http://127.0.0.1:1025'
|
||||
{%- endif %}
|
||||
route:
|
||||
group_by: ['alertname', 'cluster', 'service']
|
||||
group_wait: 30s
|
||||
|
Loading…
Reference in New Issue
Block a user