k3s/pkg/kubelet/dockertools
Kubernetes Submit Queue 8923087b52 Merge pull request #31558 from MHBauer/match-raw-term-setting
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
```
2016-10-24 18:55:14 -07:00
..
fixtures/seccomp Add profile unit tests 2016-06-13 14:39:09 +02:00
BUILD fix tests by declaring testdata 2016-10-21 17:32:32 -07:00
container_gc.go dockershim: implement ContainerStatus() 2016-07-28 18:24:29 -07:00
container_gc_test.go * Refactor kuberuntime unit test 2016-10-24 00:03:34 -07:00
convert.go Avoiding trying to gc images with no tags which are still in use 2016-07-27 10:31:47 -07:00
convert_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
docker.go Kubelet: Use RepoDigest for ImageID when available 2016-10-10 15:16:58 -04:00
docker_manager.go Use the rawTerminal setting from the container itself 2016-10-21 08:15:39 -07:00
docker_manager_test.go * Add docker pullable support. 2016-10-12 09:21:10 -07:00
docker_test.go Add method to inspect Docker images by ID 2016-10-10 15:16:58 -04:00
exec.go Add return code support to kubectl-exec and -run 2016-08-20 15:58:47 +02:00
fake_docker_client.go * Add docker pullable support. 2016-10-12 09:21:10 -07:00
fake_manager.go Revert "Remove pod mutation for PVs with supplemental GIDs" 2016-07-14 17:47:46 -07:00
images.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
images_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
instrumented_docker.go Add method to inspect Docker images by ID 2016-10-10 15:16:58 -04:00
kube_docker_client.go * Add docker pullable support. 2016-10-12 09:21:10 -07:00
labels.go Add container ports label. 2016-08-08 18:40:18 -07:00
labels_test.go Add container ports label. 2016-08-08 18:40:18 -07:00