From 47f92199c58fedc0464f55c3db94bc00cbff1d7b Mon Sep 17 00:00:00 2001 From: xfrancois Date: Sun, 27 Oct 2024 18:48:47 +0100 Subject: [PATCH] fix: add kubeconfig if k9s is launched with --kubeconfig (#2932) --- plugins/debug-container.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/debug-container.yaml b/plugins/debug-container.yaml index aefba880..38d6fcc6 100644 --- a/plugins/debug-container.yaml +++ b/plugins/debug-container.yaml @@ -12,4 +12,4 @@ plugins: confirm: true args: - -c - - "kubectl debug -it --context $CONTEXT -n=$NAMESPACE $POD --target=$NAME --image=nicolaka/netshoot:v0.12 --share-processes -- bash" \ No newline at end of file + - "kubectl --kubeconfig=$KUBECONFIG debug -it --context $CONTEXT -n=$NAMESPACE $POD --target=$NAME --image=nicolaka/netshoot:v0.12 --share-processes -- bash"