test(s3): cover shared edge host routing (#1957)

Co-authored-by: Alexy Grabov <Alexy.Grabov@cyberark.com>
This commit is contained in:
Alexy GrabovandAlexy Grabov authored and GitHub committed 2026-07-26 14:53:31 -05:00
1 parent b0e56a9a45
commit 1a51938a35
1 file changed
+5
@@ -72,6 +72,11 @@ class S3VirtualHostFilterTest {
"s3.localhost.localstack.cloud:4566, localhost",
"s3.localhost.floci.io, localhost",
"s3.localhost.floci.io:4566, localhost",
// Shared edge hosts are endpoints, not buckets named localhost
"localhost.localstack.cloud, localhost",
"localhost.localstack.cloud:4566, localhost",
"localhost.floci.io, localhost",
"localhost.floci.io:4566, localhost",
// K8s service hostname used as endpoint (path-style) — must NOT be rewritten
"floci.default.svc.cluster.local, localhost",
"floci-service.namespace.svc.cluster.local, localhost",