From c5c03e90243c4dbaa87faef81215fb38f008fa02 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sun, 28 Jul 2024 21:49:15 +0200 Subject: [PATCH] * kubed.el (service): Add useful resource properties --- kubed.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kubed.el b/kubed.el index 4dbf281..0bf9d60 100644 --- a/kubed.el +++ b/kubed.el @@ -964,7 +964,12 @@ Optional argument DEFAULT is the minibuffer default argument." resource) ;;;###autoload (autoload 'kubed-list-services "kubed" nil t) ;;;###autoload (autoload 'kubed-create-service "kubed" nil t) ;;;###autoload (autoload 'kubed-service-prefix-map "kubed" nil t 'keymap) -(kubed-define-resource service) +(kubed-define-resource service + ((type ".spec.type" 12) + (clusterip ".spec.clusterIP" 16) + (externalip ".spec.externalIPs[*]" 16) + (ports ".spec.ports[*].port" 6) + (creationtimestamp ".metadata.creationTimestamp" 20))) ;;;###autoload (autoload 'kubed-display-secret "kubed" nil t) ;;;###autoload (autoload 'kubed-edit-secret "kubed" nil t) -- 2.39.5