From 8c5f0ddfe31700a52cf628fb0c9b7f47a6f1213b Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 8 Apr 2021 00:34:25 -0400 Subject: [PATCH] Fix node shell failure to open (#2467) (#2468) Signed-off-by: Jim Ehrismann Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com> --- 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 = [];