fix: Use correct path for node-shell shell PTY

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-05-19 14:58:23 -04:00
1 parent 00f0b9fce4
commit 063bc1ee93
1 file changed
+1 -1
@@ -95,7 +95,7 @@ export class NodeShellSession extends ShellSession {
break;
}
await this.openShellProcess(this.dependencies.directoryContainingKubectl, args, env);
await this.openShellProcess(await this.kubectl.getPath(), args, env);
}
protected createNodeShellPod(coreApi: CoreV1Api) {