From d698a0205f6443463884a03f02e760a641b7fa2f Mon Sep 17 00:00:00 2001 From: Jim Ehrismann Date: Wed, 7 Apr 2021 12:33:38 -0400 Subject: [PATCH] fix node shell failure to open Signed-off-by: Jim Ehrismann --- src/main/node-shell-session.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/node-shell-session.ts b/src/main/node-shell-session.ts index c20567363e..a0dc0dc792 100644 --- a/src/main/node-shell-session.ts +++ b/src/main/node-shell-session.ts @@ -20,6 +20,10 @@ export class NodeShellSession extends ShellSession { } public async open() { + // these are needed by the ShellSession getCachedShellEnv() method + this.kubeconfigPath = await this.cluster.getProxyKubeconfigPath(); + this.kubectlBinDir = await this.kubectl.binDir(); + this.kc = await this.cluster.getProxyKubeconfig(); const shell = await this.kubectl.getPath(); let args = [];