]> git.eshelyaron.com Git - emacs.git/commit
Tramp's method "kubernetes" supports now optional namespace
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 25 Jul 2024 11:38:27 +0000 (13:38 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 25 Jul 2024 12:08:21 +0000 (14:08 +0200)
commit2aac21bba3b33f62154d8ac1a166aad9b57481be
treeb1a4e3fbe46a19fdde530dde550f9ff3f706f076
parent062cfcb8335482b8d5b5daf36d61cc67a2eb6377
Tramp's method "kubernetes" supports now optional namespace

* doc/misc/tramp.texi (Inline methods): Extend Kubernetes host
name syntax by an optional namespace.
(Kubernetes setup): Mention optional namespace part of the host name.

* etc/NEWS: Tramp's method "kubernetes" supports now optional namespace.
Fix typos.

* lisp/net/tramp-container.el (tramp-kubernetes-namespace):
Initialize with nil.  Adapt docstring.
(tramp-kubernetes--name-regexp): New defconst.
(tramp-kubernetes--host-name-regexp): Change in order to cover
also an optional namespace.  (Bug#59797)
(tramp-kubernetes--namespace): New defun.
(tramp-kubernetes--context-namespace): Use it.
(tramp-skeleton-kubernetes-vector): Add sanity check for
superfluous user name or port number.

(cherry picked from commit d2cb9f2bf6ef9f3fcd8c21455ca1f1e624e61bf4)
doc/misc/tramp.texi
etc/NEWS
lisp/net/tramp-container.el