(dev-v2.6-archive) fix typos in alerting config

(partially cherry picked from commit 3b6f47638d)
pull/1680/head
Arvind Iyengar 2020-09-02 14:05:27 -07:00
parent 406ca13dfc
commit 7e2065bc4d
No known key found for this signature in database
GPG Key ID: A8DD9BFD6C811498
1 changed files with 3 additions and 3 deletions

View File

@ -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 }}`