From 35d90f6e8da9a25704581ba8f92a6419ad4f5a02 Mon Sep 17 00:00:00 2001 From: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com> Date: Wed, 7 Apr 2021 14:11:15 -0400 Subject: [PATCH] fix node shell failure to open (#2467) 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 0799f9f892..743a0367f0 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 = [];