From fd4385c4f0f43900422a422ac758fd94386215ff Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 28 Mar 2024 11:21:31 +0100 Subject: [PATCH] Fix intention for alertmanager --- consul/config/service-intentions/alertmanager.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/config/service-intentions/alertmanager.hcl b/consul/config/service-intentions/alertmanager.hcl index f0c9013..0c001fb 100644 --- a/consul/config/service-intentions/alertmanager.hcl +++ b/consul/config/service-intentions/alertmanager.hcl @@ -7,7 +7,7 @@ Sources = [ { Action = "allow" HTTP { - PathPrefix = "[[ if eq "" (urlParse .monitoring.alertmanager.public_url).Path ]]/[[ else ]][[ (urlParse .monitoring.alertmanager.public_url).Path ]][[ end ]]" + PathPrefix = "/" Methods = ["GET", "HEAD", "POST", "PUT", "DELETE", "PATCH"] } }