Skip to content

Commit d31858b

Browse files
committed
fix: handle undefined variable in msteams example
1 parent 261941b commit d31858b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/kayobe/kolla/config/prometheus/prometheus-alertmanager.msteamsv2.yml.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ route:
1818
receivers:
1919
- name: 'msteamsv2-notifications'
2020
msteamsv2_configs:
21-
- webhook_url: '{{ secrets_msteams_notification_channel_url }}'
21+
- webhook_url: '{{ secrets_msteams_notification_channel_url | default('https://prod-01.westeurope.logic.azure.com/workflows/') }}'
2222
send_resolved: true
2323
- name: 'msteamsv2-critical-notifications'
2424
msteamsv2_configs:
25-
- webhook_url: '{{ secrets_msteams_notification_critical_channel_url }}'
25+
- webhook_url: '{{ secrets_msteams_notification_critical_channel_url | default('https://prod-01.westeurope.logic.azure.com/workflows/') }}'
2626
send_resolved: true
2727

2828
templates:

0 commit comments

Comments
 (0)