fix(infra-monitoring): add possiblity to change message type of alerts in matrix
This commit is contained in:
parent
d7d7009365
commit
2414e0fdab
2 changed files with 5 additions and 1 deletions
|
@ -35,6 +35,7 @@ spec:
|
|||
bot:
|
||||
matrix:
|
||||
homeserver: {{ .homeserver | quote }}
|
||||
messageType: {{ .messageType | quote }}
|
||||
userID: {{ .userID | quote }}
|
||||
rooms:
|
||||
- {{ .default | quote }}
|
||||
|
|
|
@ -98,10 +98,13 @@ alertmanager:
|
|||
sendResolved: false
|
||||
homeserver: "https://matrix.org"
|
||||
userID: "@alert:matrix.org"
|
||||
# -- message type of alerts in matrix
|
||||
messageType: "m.notice"
|
||||
# -- token of matrix reciever (use valuesFrom in flux for it)
|
||||
token: ""
|
||||
# -- default room (additional rooms are possible)
|
||||
default: "!example-room:matrix.org"
|
||||
#
|
||||
# -- additional rooms
|
||||
rooms: {}
|
||||
# room-name:
|
||||
# - room: "!example-room-name:matrix.org"
|
||||
|
|
Loading…
Add table
Reference in a new issue