From 195e364e4a3732c01d37d749d9bb83e757126104 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Wed, 24 Jul 2024 19:47:33 +0200 Subject: [PATCH] kubed.el: Add some commentary --- lisp/net/kubed.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lisp/net/kubed.el b/lisp/net/kubed.el index 280979b6f42..e54f54d8fee 100644 --- a/lisp/net/kubed.el +++ b/lisp/net/kubed.el @@ -37,6 +37,11 @@ ;; `kubed-set-namespace'; all resource lists are updated automatically ;; after you do so. In addition, you can use the minor mode ;; `kubed-all-namespaces-mode' to see resources from all namespaces. +;; The prefix keymap `kubed-prefix-map' gives you quick access to these +;; and other useful commands. You may want to bind it to a convenient +;; key in your global keymap with `keymap-global-set': +;; +;; (keymap-global-set "C-c k" 'kubed-prefix-map) ;; ;; If you want to work with more or different types of Kubernetes ;; resources, use the macro `kubed-define-resource'. This macro defines @@ -831,6 +836,7 @@ Optional argument DEFAULT is the minibuffer default argument." resource) ;; all subsequent operations in that buffer are outside the ;; scope of the let-binding and thus use the wrong namespace. ;; Ideally, we'd like to hardcode the namespace into filename. + ;; There's work in progress towards enabling that in bug#59797. (let ((tramp-kubernetes-namespace k8sns)) (dired (concat "/kubernetes:" pod ":")))) (shell "s" "Start shell in home directory of first container of" -- 2.39.2