I want to connect prometheus to alertmanager and I'm facing a problem with configuring alertmanager alerting endpoints in values.yaml helm chart.
I tried it before with docker-compose and it worked but it's different with helm charts.
I downloaded the official helm chart for prometheus that includes alertmanager I configured the services and the targets to scrape but I can't find where to specify alertmanager to prometheus to try to forward the alerts and send it by slack.
The easiest configuration is set the configMapOverride: https://github.com/helm/charts/blob/da8b2fa27f81a4a4d44e1ac320f9081a5948224e/stable/prometheus/values.yaml#L68
After configuring this, you must create a configMap with all configuration like a usually alertmanager: https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/prometheus/alertmanager-configmap.yaml