Skip to content

Add a --labels flag to tctl tokens ls#50588

Merged
zmb3 merged 1 commit intomasterfrom
zmb/tctl-tokens-ls-labels
Dec 30, 2024
Merged

Add a --labels flag to tctl tokens ls#50588
zmb3 merged 1 commit intomasterfrom
zmb/tctl-tokens-ls-labels

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Dec 26, 2024

Note: I removed the subtests from TestTokens since they were not independendent tests - the ls subtest could only succeed if the add subtest ran first.

Closes #46388

Changelog: Add a --labels flag to the tctl tokens ls command.

Note: I removed the subtests from TestTokens since they were not
independendent tests - the ls subtest could only succeed if the
add subtest ran first.

Closes #46388
Copy link
Copy Markdown
Contributor

@creack creack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zmb3 zmb3 requested a review from avatus December 30, 2024 16:59
Copy link
Copy Markdown
Contributor

@avatus avatus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.
I'm wondering if we should add labels to the webui as well? Not in this pr of course. The problem stated in the issue isn't really a big deal in the web ui since we have the search functionality so i don't think its a big issue, just thinking out loud

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from nklaassen December 30, 2024 17:21
@zmb3 zmb3 enabled auto-merge December 30, 2024 17:22
@zmb3 zmb3 added no-changelog Indicates that a PR does not require a changelog entry and removed no-changelog Indicates that a PR does not require a changelog entry labels Dec 30, 2024
@zmb3 zmb3 added this pull request to the merge queue Dec 30, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 30, 2024
@zmb3 zmb3 added this pull request to the merge queue Dec 30, 2024
Merged via the queue into master with commit ca10cde Dec 30, 2024
@zmb3 zmb3 deleted the zmb/tctl-tokens-ls-labels branch December 30, 2024 18:15
@public-teleport-github-review-bot
Copy link
Copy Markdown

@zmb3 See the table below for backport results.

Branch Result
branch/v15 Failed
branch/v16 Create PR
branch/v17 Create PR

carloscastrojumo pushed a commit to carloscastrojumo/teleport that referenced this pull request Feb 19, 2025
Note: I removed the subtests from TestTokens since they were not
independendent tests - the ls subtest could only succeed if the
add subtest ran first.

Closes gravitational#46388
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/branch/v17 size/sm tctl tctl - Teleport admin tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"tctl tokens ls" could use a --labels flag

3 participants