From 629b6d447c847795f4eef5658f68426f674c92e4 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 19 Mar 2026 12:31:45 +0100 Subject: [PATCH] test(webhooks): allow non-routable IPs in E2E tests E2E tests use httptest.NewServer bound to 127.0.0.1, which is now blocked by default SSRF protection. Opt in to non-routable IPs. --- pkg/e2etests/integrations.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/e2etests/integrations.go b/pkg/e2etests/integrations.go index 4a0b18bd6..cb1ce6371 100644 --- a/pkg/e2etests/integrations.go +++ b/pkg/e2etests/integrations.go @@ -62,6 +62,7 @@ func setupE2ETestEnv(ctx context.Context) (e *echo.Echo, err error) { config.InitDefaultConfig() config.ServicePublicURL.Set("https://localhost") config.WebhooksEnabled.Set(true) + config.WebhooksAllowNonRoutableIPs.Set(true) log.InitLogger()