perf: k8s tree run (#9834)

Co-authored-by: feng <1304903146@qq.com>
pull/9835/head
fit2bot 2 years ago committed by GitHub
parent 27e1c17b26
commit 820971e2be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -60,7 +60,7 @@ class KubernetesClient:
return f'{gateway.address}:{gateway.port}' return f'{gateway.address}:{gateway.port}'
@classmethod @classmethod
def run(cls, asset, secret, tp='namespace', *args): def run(cls, asset, secret, tp, *args):
k8s_url = f'{asset.address}' k8s_url = f'{asset.address}'
proxy_url = cls.get_proxy_url(asset) proxy_url = cls.get_proxy_url(asset)
k8s = cls(k8s_url, secret, proxy=proxy_url) k8s = cls(k8s_url, secret, proxy=proxy_url)

Loading…
Cancel
Save