monitoring/consul/config/service-intentions/alertmanager.hcl

17 lines
352 B
HCL

Kind = "service-intentions"
Name = "alertmanager[[ .consul.suffix ]]"
Sources = [
{
Name = "[[ (merge .monitoring.alertmanager .).traefik.instance ]]"
Permissions = [
{
Action = "allow"
HTTP {
PathPrefix = "/"
Methods = ["GET", "HEAD", "POST", "PUT", "DELETE", "PATCH"]
}
}
]
}
]