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] Move --reason and --invite to tsh ssh #42365

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Conversation

zmb3
Copy link
Collaborator

@zmb3 zmb3 commented Jun 4, 2024

These flags are part of the moderated sessions feature and are used to update the session tracker resource. As mentioned in the RFD, they were supposed to be added to tsh kube exec and tsh ssh.

While tsh kube exec works as intended, for SSH we mistakenly added these flags to tsh join. As a result, these flags were effectively no-ops for SSH sessions.

Additionally, the environment variable used to propagate session invite information was incorrect named "JOIN_MODE" presumably due to a copy-paste error. This has been fixed, but we will continue to check the old env var for 1 major release to maintain backwards compatibility.

Backports #42325
Closes #42255

These flags are part of the moderated sessions feature and are
used to update the session tracker resource. As mentioned in the
RFD, they were supposed to be added to `tsh kube exec` and `tsh ssh`.

While `tsh kube exec` works as intended, for SSH we mistakenly added
these flags to `tsh join`. As a result, these flags were effectively
no-ops for SSH sessions.

Additionally, the environment variable used to propagate session
invite information was incorrect named "JOIN_MODE" presumably due
to a copy-paste error. This has been fixed, but we will continue
to check the old env var for 1 major release to maintain backwards
compatibility.

Closes #42255
@github-actions github-actions bot added backport documentation size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Jun 4, 2024
Copy link

github-actions bot commented Jun 4, 2024

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

Copy link

github-actions bot commented Jun 4, 2024

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

@zmb3 zmb3 added the no-changelog Indicates that a PR does not require a changelog entry label Jun 4, 2024
@zmb3 zmb3 enabled auto-merge June 4, 2024 19:28
@zmb3 zmb3 added this pull request to the merge queue Jun 4, 2024
Merged via the queue into branch/v15 with commit b267ed9 Jun 4, 2024
39 of 40 checks passed
@zmb3 zmb3 deleted the zmb3/v15-backport-42325 branch June 4, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport documentation no-changelog Indicates that a PR does not require a changelog entry size/sm 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