Skip to content

Commit

Permalink
Annotations.instance => Labels.instance
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed May 18, 2024
1 parent 28c5fce commit d4e59a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/namespaces/monitoring/alerts/alertmanager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ receivers:
title: '{{ if eq .Status "firing" }}[FIRING]{{ else }}[RESOLVED]{{ end }}'
text: |
{{ if eq .Status "firing" }}{{ range .Alerts }}
`{{ .Annotations.instance }}`: **{{ .Annotations.summary }}:**
`{{ .Labels.instance }}`: **{{ .Annotations.summary }}:**
{{ .Annotations.description }} [(Link)]({{.GeneratorURL}})
{{ end }}{{ else }}Alert has resolved.{{ end }}
Expand Down

0 comments on commit d4e59a8

Please sign in to comment.