From: Andreas Gerler Date: Tue, 7 Jan 2025 14:38:52 +0000 (+0100) Subject: fix kubel tramp X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=eda2ad189ab85c73d1fb6239d9631ab936edb217;p=emacsconfig.git fix kubel tramp * elpa/kubel-20241110.1456/kubel.el: syntax for kubectl exec has changed. Signed-off-by: Andreas Gerler --- diff --git a/elpa/kubel-20241110.1456/kubel.el b/elpa/kubel-20241110.1456/kubel.el index 54f45a91..19313682 100644 --- a/elpa/kubel-20241110.1456/kubel.el +++ b/elpa/kubel-20241110.1456/kubel.el @@ -950,7 +950,7 @@ P can be a single number or a localhost:container port pair." (add-to-list 'tramp-methods `("kubectl" (tramp-login-program ,kubel-kubectl) - (tramp-login-args (,(kubel--get-context-namespace) ("exec" "-it") ("-c" "%u") ("%h") ("sh"))) + (tramp-login-args (,(kubel--get-context-namespace) ("exec" "-it") ("-c" "%u") ("%h") ("--" "sh"))) (tramp-remote-shell "sh") (tramp-remote-shell-args ("-i" "-c"))))) ;; add the current context/namespace to tramp methods