From aab0c2e4d661bef627b6e29c73786735741e7710 Mon Sep 17 00:00:00 2001 From: Jonathan Jin Date: Fri, 14 Jun 2024 10:20:37 -0400 Subject: [PATCH] kele-list: add resource-specific columns for Secrets and ConfigMaps --- kele.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kele.el b/kele.el index c90363a..46f5748 100644 --- a/kele.el +++ b/kele.el @@ -1715,6 +1715,9 @@ Otherwise, simply `kele-get' the resource at point." (let-alist (elt .metadata.ownerReferences 0) (format "%s/%s" .kind .name))))))))) (namespaces . (("Status" . (lambda (r) (let-alist r .status.phase))))) + (secrets . (("Type" . (lambda (r) (alist-get 'type r))))) + (configmaps . (("Data" . (lambda (r) + (length (map-keys (alist-get 'data r))))))) (pods . (("Ready" . (lambda (r) (let-alist r (format "%s/%s" (->> .status.containerStatuses