File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,11 @@ versioning][semver].
3232- ` kele-port-forward ` is now inapt if the user does not have permission to create port-forwards
3333- ` kele-resource-follow-logs ` is now inapt if the user does not have permission to get pod logs
3434
35+ ### Changed
36+
37+ - ` kele-get ` now accepts a prefix argument (` C-u M-x kele-get ` ) to enable namespace
38+ filtering. Without the prefix argument, ` kele-get ` searches across all namespaces.
39+
3540## 0.7.0
3641
3742### Added
Original file line number Diff line number Diff line change @@ -2311,7 +2311,11 @@ instead of \"pod.\""
23112311 " Get resource GVK by NAME and display it in a buffer.
23122312
23132313NAMESPACE and CONTEXT are all used to identify the resource type
2314- to query for."
2314+ to query for.
2315+
2316+ By default, `kele-get' will prompt you to find a resource across all
2317+ namespaces within CONTEXT. To select a specific namespace to search for
2318+ resources within, pass the prefix argument."
23152319 :key " g"
23162320 ; ; TODO(#185): Make this account for group + version as well
23172321 :inapt-if-not
@@ -2346,7 +2350,7 @@ to query for."
23462350 (ns (kele--get-namespace-arg
23472351 :group-version (kele--gv-string gvk)
23482352 :kind (oref gvk kind)
2349- :permit-nil t
2353+ :permit-nil ( not current-prefix-arg)
23502354 :use-default nil ))
23512355 (cands (kele--fetch-resource-names gvk :namespace ns :context (kele--get-context-arg) :with-namespace t ))
23522356 (name (completing-read " Name: " (-cut kele--resources-complete <> <> <> :group-by-namespace cands))))
You can’t perform that action at this time.
0 commit comments