1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-26 15:25:33 +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). Name(pod.Name).
SubResource("attach"). SubResource("attach").
VersionedParams(&v1.PodAttachOptions{ VersionedParams(&v1.PodAttachOptions{
TypeMeta: metav1.TypeMeta{}, Stdin: true,
Stdin: false, Stdout: true,
Stdout: false, Stderr: true,
Stderr: false, TTY: true,
TTY: false,
Container: "shell", Container: "shell",
}, scheme.ParameterCodec).URL() }, scheme.ParameterCodec).URL()