mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-24 09:00:23 +00:00
Merge pull request #11410 from hoilc/hoilc-patch-1
perf: 通过网域连接k8s时支持默认端口
This commit is contained in:
commit
e9c090f656
@ -66,7 +66,7 @@ class KubernetesClient:
|
|||||||
|
|
||||||
remote_bind_address = (
|
remote_bind_address = (
|
||||||
urlparse(asset.address).hostname,
|
urlparse(asset.address).hostname,
|
||||||
urlparse(asset.address).port
|
urlparse(asset.address).port or 443
|
||||||
)
|
)
|
||||||
server = SSHTunnelForwarder(
|
server = SSHTunnelForwarder(
|
||||||
(gateway.address, gateway.port),
|
(gateway.address, gateway.port),
|
||||||
|
Loading…
Reference in New Issue
Block a user