-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[v16] Expose client tools auto update for find endpoint #47213
Conversation
* Expose client tools auto update for find endpoint * Group auto update settings in find response Log error instead returning error Add tests auto update settings in find endpoint Add check for not implemented error * Add more test cases
@sclevine are there going to be any changes required/desired to this endpoint/message to accommodate any of the new upgrades design that we should do prior to merging backports? |
* Update client autoupdate proto structure * Replace with reserved * Fix unit tests * Add more info in proto * Rename proto to be aligned RFD namings * Replace enum type for ToolsMode to string
@rosstimothy I've cherry picked recent changes in proto structure here as well |
This pull request is automatically being deployed by Amplify Hosting (learn more). |
// ToolsVersion defines the version of {tsh, tctl} for client auto update. | ||
ToolsVersion string `json:"tools_version"` | ||
// ToolsMode defines mode client auto update feature `enabled|disabled`. | ||
ToolsMode string `json:"tools_mode"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vapopov I think this should be tools_auto_update
?
https://github.com/gravitational/teleport/blob/master/api/client/webclient/webclient.go#L363
Should this PR be closed in favor of #48645? |
closing in favor #48645 |
Backport #46785 and #47532 to branch/v16