Sorry if i bother but im having problem using templates for slack alert:
[{{- .Status | toUpper -}}{{- if eq .Status "firing" }} x {{ .Alerts.Firing | len -}}{{- end }} | {{ .CommonLabels.env | toUpper -}} ] || {{ .CommonLabels.alertname -}}
{{- end -}}```
if create this template, i should be able to have a template "slack.title" for the slack contactpoint:
`title: "{{ template `slack.title` . }}"` but instead i receive this error when applying with yaml:
`template "slack.title" not defined` someone knows what am i doing wrong?