Skip to content

Fix kube credentials lock in separate mode#39071

Merged
tigrato merged 1 commit intomasterfrom
tigrato/fix-tsh-lock-empty-proxy
Mar 7, 2024
Merged

Fix kube credentials lock in separate mode#39071
tigrato merged 1 commit intomasterfrom
tigrato/fix-tsh-lock-empty-proxy

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Mar 7, 2024

This PR fixes situations where tsh kube credentials fails to delete/aquire credentials lock because the proxy is empty.

This happens in separate mode and in that case we should fallback to WebProxyAddress.

Changelog: Fix a regression where tsh kube credentials fails to re-login when credentials expire.

This PR fixes situations where `tsh kube credentials` fails to
delete/aquire credentials lock because the proxy is empty.

This happens in separate mode and in that case we should fallback to
`WebProxyAddress`.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@github-actions github-actions Bot requested review from nklaassen and rudream March 7, 2024 15:38
@github-actions github-actions Bot added size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Mar 7, 2024
@tigrato tigrato enabled auto-merge March 7, 2024 15:49
@tigrato tigrato added this pull request to the merge queue Mar 7, 2024
Merged via the queue into master with commit cd75ea2 Mar 7, 2024
@tigrato tigrato deleted the tigrato/fix-tsh-lock-empty-proxy branch March 7, 2024 16:12
@public-teleport-github-review-bot
Copy link
Copy Markdown

@tigrato See the table below for backport results.

Branch Result
branch/v13 Create PR
branch/v14 Create PR
branch/v15 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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