Skip to content

fix: "Warp To Namespace" (w) for helm releases - #4409

Open
efussi wants to merge 1 commit into
derailed:masterfrom
efussi:master
Open

efussi wants to merge 1 commit into
derailed:masterfrom
efussi:master

Conversation

@efussi

@efussi efussi commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Pressing w in an all-namespaces view (e.g. k9s -c helm -A) didn't work for helm releases.

nsWarpCmd looked up the selected object via the factory and read its namespace from an *unstructured.Unstructured. However, Helm releases are not Kubernetes objects, so the lookup failed and the error was ignored.

The namespace is now derived from the selected row's namespace/name path via client.Namespaced(), which works for every namespaced view and avoids the extra object fetch.

@efussi

efussi commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

@derailed @uozalp Can I please get a review for this small fix?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant