Skip to content

Instantly share code, notes, and snippets.

@FUSAKLA
Created March 9, 2018 20:56
Show Gist options
  • Save FUSAKLA/6caf398924a9acc64990ad6d26dc0602 to your computer and use it in GitHub Desktop.
Save FUSAKLA/6caf398924a9acc64990ad6d26dc0602 to your computer and use it in GitHub Desktop.
Fixed example of configmap containing alertmanager config
apiVersion: v1
kind: ConfigMap
metadata:
name: alertmanager-conf
labels:
name: alertmanager-conf
namespace: monitoring
data:
alertmanager.yml: |-
global:
# slack_api_url: ''
resolve_timeout: 20s
receivers:
- name: default-receiver
# slack_configs:
# - channel: '@you'
# send_resolved: true
- name: 'webhook'
webhook_configs:
- send_resolved: true
url: ''
route:
group_wait: 10s
group_interval: 5m
receiver: webhook
repeat_interval: 3h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment