removed no longer necessary workaround in resolveAuthProxyUrl() (#5833)

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
Jim Ehrismann authored and GitHub committed 2022-07-19 08:48:27 +03:00
1 parent f4b7fea54a
commit 0d2aea0101
1 file changed
+1 -2
+1 -2
View File
@@ -131,9 +131,8 @@ export class ContextHandler implements ClusterContextHandler {
async resolveAuthProxyUrl(): Promise<string> {
const kubeAuthProxy = await this.ensureServerHelper();
const path = this.clusterUrl.path !== "/" ? this.clusterUrl.path : "";
return `https://127.0.0.1:${kubeAuthProxy.port}${kubeAuthProxy.apiPrefix}${path}`;
return `https://127.0.0.1:${kubeAuthProxy.port}${kubeAuthProxy.apiPrefix}`;
}
resolveAuthProxyCa() {