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 label filtering to tsh db ls #11194

Closed
pschisa opened this issue Mar 16, 2022 · 2 comments
Closed

Add label filtering to tsh db ls #11194

pschisa opened this issue Mar 16, 2022 · 2 comments
Assignees
Labels
c-bi Internal Customer Reference database-access Database access related issues and PRs feature-request Used for new features in Teleport, improvements to current should be #enhancements tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Comments

@pschisa
Copy link
Contributor

pschisa commented Mar 16, 2022

What

Currently tsh db ls is not able to filter output databases by label like tsh ls <key>=<value> can:

tsh db ls region=west1
ERROR: unexpected region=west1

Why

Allow end users who interact with large DB clusters to filter the node search based on assigned labels

@pschisa pschisa added feature-request Used for new features in Teleport, improvements to current should be #enhancements tsh tsh - Teleport's command line tool for logging into nodes running Teleport. c-bi Internal Customer Reference database-access Database access related issues and PRs labels Mar 16, 2022
@russjones
Copy link
Contributor

@kimlisa This should now work, can you confirm?

@kimlisa
Copy link
Contributor

kimlisa commented Mar 22, 2022

@russjones yes with #11016

@r0mant r0mant closed this as completed May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-bi Internal Customer Reference database-access Database access related issues and PRs feature-request Used for new features in Teleport, improvements to current should be #enhancements tsh tsh - Teleport's command line tool for logging into nodes running Teleport.
Projects
None yet
Development

No branches or pull requests

5 participants