mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-05 01:55:42 +00:00
Automatic merge from submit-queue Use the rawTerminal setting from the container itself **What this PR does / why we need it**: Checks whether the container is set for rawTerminal connection and uses the appropriate connection. Prevents the output `Error from server: Unrecognized input header` when doing `kubectl run`. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: helps with case 1 in #28695, resolves #30159 **Special notes for your reviewer**: **Release note**: ``` release-note-none ```