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:
|
bot:
|
||||||
matrix:
|
matrix:
|
||||||
homeserver: {{ .homeserver | quote }}
|
homeserver: {{ .homeserver | quote }}
|
||||||
|
messageType: {{ .messageType | quote }}
|
||||||
userID: {{ .userID | quote }}
|
userID: {{ .userID | quote }}
|
||||||
rooms:
|
rooms:
|
||||||
- {{ .default | quote }}
|
- {{ .default | quote }}
|
||||||
|
|
|
@ -98,10 +98,13 @@ alertmanager:
|
||||||
sendResolved: false
|
sendResolved: false
|
||||||
homeserver: "https://matrix.org"
|
homeserver: "https://matrix.org"
|
||||||
userID: "@alert: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 of matrix reciever (use valuesFrom in flux for it)
|
||||||
token: ""
|
token: ""
|
||||||
|
# -- default room (additional rooms are possible)
|
||||||
default: "!example-room:matrix.org"
|
default: "!example-room:matrix.org"
|
||||||
#
|
# -- additional rooms
|
||||||
rooms: {}
|
rooms: {}
|
||||||
# room-name:
|
# room-name:
|
||||||
# - room: "!example-room-name:matrix.org"
|
# - room: "!example-room-name:matrix.org"
|
||||||
|
|
Loading…
Add table
Reference in a new issue