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

[v17] Reorganize tctl commands to not require an auth client by default #50966

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

vapopov
Copy link
Contributor

@vapopov vapopov commented Jan 10, 2025

Backport #48894 to branch/v17

…8894)

* Reorganize tctl commands to have commands not required auth client

* Replace auth client with lazy loading approach

* Fix linter warning

* Replace camel case in import alias
Replace logrus to use slog

* Rename close function

* Refactor plugin commands to use interface of auth client and plugin client
Code review changes

* Refactor workload identity commands

* Add access to global config for the commands

* Add test checking all tctl commands match process

* Fix golangci-lint warnings
@vapopov vapopov added backport no-changelog Indicates that a PR does not require a changelog entry labels Jan 10, 2025
@github-actions github-actions bot added size/md tctl tctl - Teleport admin tool tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Jan 10, 2025
@vapopov vapopov added this pull request to the merge queue Jan 15, 2025
@vapopov vapopov removed this pull request from the merge queue due to a manual request Jan 15, 2025
github-merge-queue bot pushed a commit that referenced this pull request Jan 15, 2025
…8894) (#50966)

* Reorganize tctl commands to have commands not required auth client

* Replace auth client with lazy loading approach

* Fix linter warning

* Replace camel case in import alias
Replace logrus to use slog

* Rename close function

* Refactor plugin commands to use interface of auth client and plugin client
Code review changes

* Refactor workload identity commands

* Add access to global config for the commands

* Add test checking all tctl commands match process

* Fix golangci-lint warnings
@vapopov vapopov added this pull request to the merge queue Jan 15, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 15, 2025
@vapopov vapopov added this pull request to the merge queue Jan 15, 2025
Merged via the queue into branch/v17 with commit 00b3f72 Jan 15, 2025
41 of 42 checks passed
@vapopov vapopov deleted the vapopov/auth-client-lazy-loading-v17 branch January 15, 2025 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport no-changelog Indicates that a PR does not require a changelog entry size/md tctl tctl - Teleport admin tool tsh tsh - Teleport's command line tool for logging into nodes running Teleport.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants