Merge pull request #11410 from hoilc/hoilc-patch-1

perf: 通过网域连接k8s时支持默认端口
pull/11425/head
老广 2023-08-24 18:25:14 +08:00 committed by GitHub
commit e9c090f656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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),