feat: proxy mode add portmap option (#176)

Co-authored-by: wencaiwulue <895703375@qq.com>
This commit is contained in:
naison
2024-02-23 21:17:24 +08:00
committed by GitHub
parent 64cd7709e8
commit 2fdfc1d88d
10 changed files with 459 additions and 294 deletions

View File

@@ -35,6 +35,7 @@ func (svr *Server) Proxy(req *rpc.ConnectRequest, resp rpc.Daemon_ProxyServer) e
connect := &handler.ConnectOptions{
Namespace: req.Namespace,
Headers: req.Headers,
PortMap: req.PortMap,
Workloads: req.Workloads,
ExtraCIDR: req.ExtraCIDR,
ExtraDomain: req.ExtraDomain,