Skip to content

Commit

Permalink
fix: alertmanager template
Browse files Browse the repository at this point in the history
  • Loading branch information
grifonas committed Sep 12, 2024
1 parent b43eddc commit 19eefe3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions monitoring/assets/helm-values-monitoring.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,10 @@ alertmanager:
*{{ $key | reReplaceAll "^metadata_" "" }}:* {{ $value }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Labels.target }}
*endpoint*: `{{ .Labels.target }}`
{{- end }}
{{- if .Labels.alertname }}
*alertname:* `{{ .Labels.alertname }}`
{{- end }}
{{- end }}
{{- end }}


config:
global:
resolve_timeout: 5m
Expand Down

0 comments on commit 19eefe3

Please sign in to comment.