Skip to content

Commit

Permalink
Remove unnecessary team restriction for the Slack receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
robertvolkmann committed Aug 1, 2023
1 parent d92598d commit aa454a9
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ alertmanager:
matchers:
- alertname=~"Watchdog|InfoInhibitor"
{% if monitoring_slack_channel_url is defined %}
- match:
team: slack
receiver: slack
- receiver: slack
continue: true
{% endif %}
receivers:
Expand All @@ -122,7 +120,7 @@ alertmanager:
max_alerts: 0 # 0=all alerts
- name: 'null'
{% if monitoring_slack_channel is defined %}
- name: 'slack'
- name: slack
slack_configs:
- channel: "{{ monitoring_slack_channel }}"
send_resolved: true
Expand Down

0 comments on commit aa454a9

Please sign in to comment.