Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubectl: respect namespace flag, when completing ApiResourceResources #2252

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

Trojan295
Copy link
Contributor

@Trojan295 Trojan295 commented Feb 19, 2024

Currently, when trying to autocomplete serveral command, which require an API resource and resource, the namespace flag is not respected.

kubectl logs -n other-ns pods/

shows pods from the current namespace, not other-ns.

This PR adds namespace parameter to the kubectl.ActionApiResourceResources.

@rsteube rsteube merged commit 7c273d5 into carapace-sh:master Feb 19, 2024
3 checks passed
@rsteube
Copy link
Member

rsteube commented Feb 19, 2024

thanks

@Trojan295 Trojan295 deleted the fix/kubectl/logs-namespaces branch February 19, 2024 16:58
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.

2 participants