mirror of https://git.rancher.io/charts
(dev-v2.6-archive) fix typos in alerting config
(partially cherry picked from commit 3b6f47638d
)
pull/1680/head
parent
406ca13dfc
commit
7e2065bc4d
|
@ -1880,8 +1880,8 @@ diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-monitoring/charts-original/val
|
|||
+ *Runbook URL:* <{{ .Annotations.runbook_url }}|:spiral_note_pad:>
|
||||
+ {{- end }}
|
||||
+ {{- with .Labels }}
|
||||
+ {{- with .Remove (stringSlice "alertname" "severity" "cluster")) }}
|
||||
+ {{- if gt (len .) 0) }}
|
||||
+ {{- with .Remove (stringSlice "alertname" "severity" "cluster") }}
|
||||
+ {{- if gt (len .) 0 }}
|
||||
+ *Additional Labels:*
|
||||
+ {{- range .SortedPairs }}
|
||||
+ • *{{ .Name }}:* `{{ .Value }}`
|
||||
|
@ -1891,7 +1891,7 @@ diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-monitoring/charts-original/val
|
|||
+ {{- end }}
|
||||
+ {{- with .Annotations }}
|
||||
+ {{- with .Remove (stringSlice "summary" "message" "description" "runbook_url") }}
|
||||
+ {{- if gt (len .) 0) }}
|
||||
+ {{- if gt (len .) 0 }}
|
||||
+ *Additional Annotations:*
|
||||
+ {{- range .SortedPairs }}
|
||||
+ • *{{ .Name }}:* `{{ .Value }}`
|
||||
|
|
Loading…
Reference in New Issue