mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-28 10:18:26 +00:00
fix(alertmanager): 0.28.1, fix route matchers
This commit is contained in:
@@ -50,7 +50,8 @@ receivers:
|
||||
{{- if ne .CommonLabels.namespace "" }} - {{ .CommonLabels.namespace }}{{- end }}
|
||||
{{- if ne .CommonLabels.severity "" }} ({{ .CommonLabels.severity }}){{- end }}
|
||||
({{ .GroupLabels.cluster }})
|
||||
content: |-
|
||||
content: ""
|
||||
message: |-
|
||||
{{- $root := . }}
|
||||
{{- $rm := stringSlice "instance" "kubernetes_node" "endpoint" "prometheus" "service" "cluster" "container" "job" "severity" "alertgroup" "namespace" }}
|
||||
{{- $common := ( ( .CommonLabels.Remove $root.GroupLabels.Names ).Remove $rm ) }}
|
||||
|
||||
Reference in New Issue
Block a user