mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 21:24:52 +07:00
feat(grafana): add ntfy integration
This commit is contained in:
parent
169f24fed3
commit
250e6d2712
@ -14,3 +14,7 @@ spec:
|
||||
remoteRef:
|
||||
key: dex.grafana
|
||||
property: client_secret
|
||||
- secretKey: NTFY_RELAY_PASSWORD
|
||||
remoteRef:
|
||||
key: ntfy-relay.auth
|
||||
property: password
|
||||
|
@ -31,3 +31,21 @@ grafana:
|
||||
auth_url: https://dex.khuedoan.com/auth
|
||||
token_url: https://dex.khuedoan.com/token
|
||||
api_url: https://dex.khuedoan.com/userinfo
|
||||
alerting:
|
||||
contactpoints.yaml:
|
||||
secret:
|
||||
contactPoints:
|
||||
- name: ntfy
|
||||
receivers:
|
||||
- uid: ntfy-relay
|
||||
type: webhook
|
||||
settings:
|
||||
url: http://ntfy-relay.ntfy-relay
|
||||
username: admin
|
||||
password: $__env{NTFY_RELAY_PASSWORD}
|
||||
policies.yaml:
|
||||
policies:
|
||||
- receiver: ntfy
|
||||
group_by:
|
||||
- grafana_folder
|
||||
- alertname
|
||||
|
Loading…
Reference in New Issue
Block a user