Skip to content

[tctl/top] Parse teleport config file#57312

Merged
okraport merged 2 commits intomasterfrom
okraport/tctl-top-parse-config-yaml
Jul 31, 2025
Merged

[tctl/top] Parse teleport config file#57312
okraport merged 2 commits intomasterfrom
okraport/tctl-top-parse-config-yaml

Conversation

@okraport
Copy link
Copy Markdown
Contributor

Add config file parsing to tctl top command,
this normally is done on client configuration
but since the top client does not make use
of the common tctl client it previously did not
support the local config file.
This this change it is now possible to use a custom datadir for the debug socket.

changelog: tctl top respects local teleport config file

Add config file parsing to `tctl top` command,
this normally is done on client configuration
but since the `top` client does not make use
of the common tctl client it previously did not
support the local config file.
This this change it is now possible to use a custom
datadir for the debug socket.

changelog: tctl top respects local teleport config file
@okraport okraport marked this pull request as ready for review July 30, 2025 15:16
@okraport okraport requested a review from rosstimothy July 30, 2025 15:16
@github-actions github-actions bot added size/sm tctl tctl - Teleport admin tool labels Jul 30, 2025
@github-actions github-actions bot requested review from Tener and bl-nero July 30, 2025 15:16
@okraport okraport requested review from espadolini and removed request for Tener and bl-nero July 30, 2025 15:17
Comment thread tool/tctl/common/top/command.go Outdated
Comment thread tool/tctl/common/top/command.go
Comment thread tool/tctl/common/top/command.go
@okraport okraport added this pull request to the merge queue Jul 31, 2025
@okraport okraport removed this pull request from the merge queue due to a manual request Jul 31, 2025
@okraport okraport added this pull request to the merge queue Jul 31, 2025
Merged via the queue into master with commit 72301ff Jul 31, 2025
43 of 44 checks passed
@okraport okraport deleted the okraport/tctl-top-parse-config-yaml branch July 31, 2025 11:23
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@okraport See the table below for backport results.

Branch Result
branch/v16 Create PR
branch/v17 Create PR
branch/v18 Create PR

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants