I’m using:
- k8s: v1.27
- helm chart version: kube-prometheus-stack-56.9.0
- my alertmanager config (part from values.yaml):
receivers:
- name: 'null'
- name: 'msteams'
msteams_configs:
- webhook_url: <url>
send_resolved: true
title: '[{{ .Status | toUpper }}{{ if eq .Status "firing" }}:{{ .Alerts.Firing | len }}{{ end }}]'
text: '{{ template "msteams.text" . }}'
templates:
- '/etc/alertmanager/config/*.tmpl'
Is there a way to put data from env var or secret in the webhook_url ?
Or put a var data from global.some_var…?