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 = [];