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

add namespace autocompletion #35

Merged
merged 1 commit into from
Feb 21, 2021
Merged

add namespace autocompletion #35

merged 1 commit into from
Feb 21, 2021

Conversation

particledecay
Copy link
Owner

What? (description)

Add autocompletion capabilities to the namespace command.

Why? (reasoning)

Right now you can autocomplete available contexts. Namespaces would be the next logical step, though that involves the additional requirement of authenticating to the Kubernetes apiserver. Luckily, in order to switch namespaces you must already have a context enabled, so we should be able to use that context to communicate with the apiserver to retrieve namespaces.

Acceptance

Check your PR for the following:

  • you included tests
  • you linted your code
  • your PR has only one commit (interactive rebase!)
  • your commit message follows Conventional Commit format
  • you are not reducing the total test coverage

@particledecay particledecay merged commit 819669c into main Feb 21, 2021
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