2021-09-23 08:25:57 +07:00
|
|
|
kube-prometheus-stack:
|
|
|
|
grafana:
|
2023-05-19 01:36:47 +07:00
|
|
|
enabled: false
|
|
|
|
forceDeployDatasources: true
|
|
|
|
forceDeployDashboards: true
|
2021-09-24 19:18:20 +07:00
|
|
|
additionalDataSources:
|
2021-12-26 12:36:14 +07:00
|
|
|
- name: Loki
|
|
|
|
type: loki
|
|
|
|
url: http://loki.loki:3100
|
2022-01-06 07:44:06 +07:00
|
|
|
prometheus:
|
|
|
|
prometheusSpec:
|
2022-01-09 13:10:13 +07:00
|
|
|
ruleSelectorNilUsesHelmValues: false
|
2022-01-06 07:44:06 +07:00
|
|
|
serviceMonitorSelectorNilUsesHelmValues: false
|
|
|
|
podMonitorSelectorNilUsesHelmValues: false
|
2022-01-09 13:10:13 +07:00
|
|
|
probeSelectorNilUsesHelmValues: false
|
2024-01-25 00:44:46 +07:00
|
|
|
alertmanager:
|
|
|
|
alertmanagerSpec:
|
|
|
|
containers:
|
|
|
|
- name: ntfy-relay
|
|
|
|
image: ghcr.io/khuedoan/webhook-transformer:v0.0.3
|
|
|
|
args:
|
|
|
|
- --port=8081
|
|
|
|
- --config=/config/alertmanager-to-ntfy.jsonnet
|
|
|
|
- --upstream-host=https://ntfy.sh
|
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: webhook-transformer
|
|
|
|
volumeMounts:
|
|
|
|
- name: config
|
|
|
|
mountPath: /config
|
|
|
|
volumes:
|
|
|
|
- name: config
|
|
|
|
configMap:
|
|
|
|
name: webhook-transformer
|
|
|
|
config:
|
|
|
|
route:
|
|
|
|
receiver: ntfy
|
|
|
|
group_by:
|
|
|
|
- namespace
|
|
|
|
group_wait: 30s
|
|
|
|
group_interval: 5m
|
|
|
|
repeat_interval: 12h
|
|
|
|
routes:
|
|
|
|
- receiver: ntfy
|
|
|
|
matchers:
|
|
|
|
- alertname = "Watchdog"
|
|
|
|
receivers:
|
|
|
|
- name: ntfy
|
|
|
|
webhook_configs:
|
|
|
|
- url: http://localhost:8081
|
|
|
|
send_resolved: true
|