Switch to defaulting to kubectl

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-09-13 15:07:23 -04:00
1 parent 9dc89a9a3a
commit 8d77ada7d3
4 files changed
+14 -7

No files matched your search

+2 -1
View File
@@ -49,8 +49,9 @@ export class PodAttachMenu extends React.Component<PodAttachMenuProps> {
async attachToPod(container?: string) {
const { object: pod } = this.props;
const kubectlPath = App.Preferences.getKubectlPath() || "kubectl";
const commandParts = [
JSON.stringify(App.Preferences.getKubectlPath()), // this call escapes spaces and quotes
kubectlPath,
"attach",
"-i",
"-t",
+2 -1
View File
@@ -49,8 +49,9 @@ export class PodShellMenu extends React.Component<PodShellMenuProps> {
async execShell(container?: string) {
const { object: pod } = this.props;
const kubectlPath = App.Preferences.getKubectlPath() || "kubectl";
const commandParts = [
JSON.stringify(App.Preferences.getKubectlPath()), // this call escapes spaces and quotes
kubectlPath,
"exec",
"-i",
"-t",