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

[v10] Fix Kube impersonation header overwrite when dealing with remote clusters #22247

Merged
merged 3 commits into from Feb 24, 2023

Conversation

tigrato
Copy link
Contributor

@tigrato tigrato commented Feb 24, 2023

Backport of #22240 to branch/v10

…ters (#22240)

* Fix Kube impersonation header overwrite when dealing with remote clusters

When forwarding exec requests to remote clusters I introduced an empty
header that failed the validation in `setupImpersonationHeaders`. This
results in the request being denied.

This problem only affects Teleport 11 and 10, but I am fixing the behaviour
on master as well.

Fixes #22226

* add tests
@tigrato tigrato changed the title Fix Kube impersonation header overwrite when dealing with remote clusters [v10] Fix Kube impersonation header overwrite when dealing with remote clusters Feb 24, 2023
@tigrato tigrato enabled auto-merge (squash) February 24, 2023 19:07
@tigrato tigrato merged commit c034a7a into branch/v10 Feb 24, 2023
@github-actions github-actions bot deleted the bot/backport-22240-branch/v10 branch February 24, 2023 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants