From 39a0ee87ad609c4f1d9f24da8ef3f8ea75d2dee9 Mon Sep 17 00:00:00 2001 From: "shaoqian.zhang" Date: Tue, 3 Jan 2023 20:57:42 +0800 Subject: [PATCH] fix(core): remove bucket route pass host --- core/controllers/gateway/controllers/gateway_controller.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/controllers/gateway/controllers/gateway_controller.go b/core/controllers/gateway/controllers/gateway_controller.go index e1ed834afa..994ed13c4d 100644 --- a/core/controllers/gateway/controllers/gateway_controller.go +++ b/core/controllers/gateway/controllers/gateway_controller.go @@ -269,7 +269,6 @@ func (r *GatewayReconciler) addBuckets(ctx context.Context, gateway *gatewayv1.G ServiceName: user.Status.Endpoint, ServicePort: 0, // If set to 0, the port is not used }, - PassHost: bucketName + "." + user.Status.Endpoint, }, }