Skip to content

Commit

Permalink
apps sc: Improved alertmanager custom template (#1819)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elias-elastisys authored Oct 13, 2023
1 parent a1c6e24 commit cabf73e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helmfile/values/kube-prometheus-stack-sc.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ alertmanager:
# {{``}} to prevent helm from parsing them.
# See: https://github.com/helm/helm/issues/2798#issuecomment-467319526
text: |-
<!channel>
*Cluster:* {{ .Values.grafana.ops.subdomain }}.{{ .Values.global.opsDomain }}
{{- if .Values.alerts.slack.customTemplate }}
{{ .Values.alerts.slack.customTemplate | nindent 10 }}
{{- else }}
<!channel>
*Cluster:* {{ .Values.grafana.ops.subdomain }}.{{ .Values.global.opsDomain }}
{{`
*Common summary:* {{ .CommonAnnotations.summary }}
*Common description:* {{ .CommonAnnotations.description }}
Expand Down

0 comments on commit cabf73e

Please sign in to comment.