Skip to content

[v9] Don't enforce standard k8s and ssh auth mechanisms when joining sessions#12543

Closed
xacrimon wants to merge 9 commits intobranch/v9from
joel/v9/backport-11144
Closed

[v9] Don't enforce standard k8s and ssh auth mechanisms when joining sessions#12543
xacrimon wants to merge 9 commits intobranch/v9from
joel/v9/backport-11144

Conversation

@xacrimon
Copy link
Copy Markdown
Contributor

@xacrimon xacrimon commented May 10, 2022

Backport of:

Also includes changes to the tsh join metadata retrieval to special-case sub-v9 servers for compatibility. Only v9+ auths support sessiontracker so we need to use the legacy system to find sessions if the cluster auth is pre-v9.

@xacrimon xacrimon marked this pull request as ready for review May 10, 2022 17:03
@github-actions github-actions Bot added kubernetes tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels May 10, 2022
Copy link
Copy Markdown
Contributor

@espadolini espadolini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I'm a bit worried about supporting v8 clusters with a v9 tsh; are we ok with user expectations growing like that?

Comment thread lib/client/api.go Outdated
@xacrimon
Copy link
Copy Markdown
Contributor Author

xacrimon commented May 11, 2022

I'm mostly bolting on support here because it's easy to do, doesn't require serverside changes and because our versioning guide doesn't really specify it + the fact that we've that similar things happen before with users eagerly upgrading. If we decide against it I'd be happy to drop support. EDIT: we need to support v9 servers that predate this change too.

@xacrimon xacrimon force-pushed the joel/v9/backport-11144 branch from 803bdae to c80cd6c Compare May 20, 2022 09:29
@xacrimon
Copy link
Copy Markdown
Contributor Author

Closing this out since it seems better to not change the permission system in an already released major.

@xacrimon xacrimon closed this May 25, 2022
@zmb3 zmb3 deleted the joel/v9/backport-11144 branch April 26, 2023 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kubernetes 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