From 175a16cfce8d6188aed2bb7b245075dd4bcf6753 Mon Sep 17 00:00:00 2001 From: derailed Date: Thu, 14 May 2020 18:41:40 -0600 Subject: [PATCH] update shell config --- internal/view/exec.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/internal/view/exec.go b/internal/view/exec.go index 444c2075..62cff81e 100644 --- a/internal/view/exec.go +++ b/internal/view/exec.go @@ -12,7 +12,6 @@ import ( "time" "github.com/derailed/k9s/internal/client" - "github.com/derailed/k9s/internal/config" "github.com/rs/zerolog/log" v1 "k8s.io/api/core/v1" kerrors "k8s.io/apimachinery/pkg/api/errors" @@ -163,11 +162,7 @@ func nukeK9sShell(a *App) { } func launchShellPod(a *App, node string) error { - img := a.Config.K9s.DockerShellImage - if img == "" { - img = config.DefaultDockerShellImage - } - spec := k9sShellPod(node, img) + spec := k9sShellPod(node, a.Config.K9s.ActiveCluster().ShellPod) ctx, cancel := context.WithTimeout(context.Background(), 500*time.Millisecond) defer cancel() dial := a.Conn().DialOrDie().CoreV1().Pods(k9sShellNS)