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

[v15] Add client tools auto update tctl commands #52045

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

vapopov
Copy link
Contributor

@vapopov vapopov commented Feb 11, 2025

Backport #47692 to branch/v15

* Add client tools auto update tctl commands

* Always print version for watch command
Restrict update empty target version
Rename command to upsert

* Add alias on/off for tools mode
Rename update command to configure

* Add semantic version validation

* Drop watch command for autoupdate

* Replace Upsert with Update/Create
Add format option for output json/yaml

* Change update message

* Use get/set naming for client-tools

* Add mode to response

* Change sub-command help messages
Leave only aliases for enabled/disabled

* Reorganize tctl commands to have commands not required auth client

* Propagate insecure flag with global config to commands by context

* Fix autoupdate command without auth client

* Change commands to enable/disable/target

* Add retry in case of the parallel request

* Add more than one retry
Code review changes

* Update tool/tctl/common/autoupdate_command.go
@vapopov vapopov added backport no-changelog Indicates that a PR does not require a changelog entry labels Feb 11, 2025
@github-actions github-actions bot requested a review from sclevine February 11, 2025 23:37
@github-actions github-actions bot added the tctl tctl - Teleport admin tool label Feb 11, 2025
@github-actions github-actions bot requested a review from tigrato February 11, 2025 23:37
@vapopov vapopov added this pull request to the merge queue Feb 12, 2025
Merged via the queue into branch/v15 with commit 5ff7abe Feb 12, 2025
35 checks passed
@vapopov vapopov deleted the vapopov/tctl-autoupdate-command-v15 branch February 12, 2025 11:25
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants