mirror of https://github.com/jumpserver/jumpserver
perf: 通过网域连接k8s时支持默认端口
parent
642f92c0a3
commit
ac14a70c51
|
@ -66,7 +66,7 @@ class KubernetesClient:
|
|||
|
||||
remote_bind_address = (
|
||||
urlparse(asset.address).hostname,
|
||||
urlparse(asset.address).port
|
||||
urlparse(asset.address).port or 443
|
||||
)
|
||||
server = SSHTunnelForwarder(
|
||||
(gateway.address, gateway.port),
|
||||
|
|
Loading…
Reference in New Issue