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 new tctl bots update command #37061

Merged
merged 15 commits into from
Jan 24, 2024

Conversation

timothyb89
Copy link
Contributor

Backport #36496 to branch/v15

changelog: Add new tctl bots update command to update bot roles and logins

timothyb89 and others added 15 commits January 22, 2024 22:46
This adds a new command to update roles and logins for existing bots,
with flags to both set and append as desired.

changelog: Add new `tctl bots update` command to update bot roles and logins
Also merges in some other misc docs changes for `tctl bots ...`
Co-authored-by: Paul Gottschling <[email protected]>
This switches to use the new `UpdateBot()` RPC instead of modifying
the bot user and role directly. Also, tweaks CLI messaging to be a
bit less chatty.
The set package adds a little extra functionality but is still
missing various important functions, like subset/superset,
difference, intersection, xor/symmetric difference, etc.

This changes the API slightly, so the tctl command is updated to use
the new package.
Removes the Set package and unrolls all related function calls in
bots_command.
This also makes a minimal API wrapper interface for mocking.
Copy link

🤖 Vercel preview here: https://docs-4cl2y63un-goteleport.vercel.app/docs/ver/preview

@timothyb89 timothyb89 added this pull request to the merge queue Jan 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 23, 2024
@timothyb89 timothyb89 added this pull request to the merge queue Jan 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 24, 2024
@timothyb89 timothyb89 added this pull request to the merge queue Jan 24, 2024
Merged via the queue into branch/v15 with commit 510bc40 Jan 24, 2024
39 checks passed
@timothyb89 timothyb89 deleted the bot/backport-36496-branch/v15 branch January 24, 2024 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants