1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-25 14:49:38 +00:00

Fix shell

This commit is contained in:
Darren Shepherd
2020-06-22 09:41:48 -07:00
parent d796ed60a7
commit 9571ce9890

View File

@@ -107,11 +107,10 @@ func (s *shell) proxyRequest(rw http.ResponseWriter, req *http.Request, pod *v1.
Name(pod.Name).
SubResource("attach").
VersionedParams(&v1.PodAttachOptions{
TypeMeta: metav1.TypeMeta{},
Stdin: false,
Stdout: false,
Stderr: false,
TTY: false,
Stdin: true,
Stdout: true,
Stderr: true,
TTY: true,
Container: "shell",
}, scheme.ParameterCodec).URL()