-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Kube impersonation header overwrite when dealing with remote clus…
…ters (#22240) (#22247) * 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
- Loading branch information
Showing
3 changed files
with
51 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters