Add parameters for interactive containers. Useful with kubectl attach.

This commit is contained in:
Brendan Burns
2015-07-29 21:16:54 -07:00
parent 769230e735
commit 51757f6552
8 changed files with 7046 additions and 8089 deletions

View File

@@ -222,6 +222,8 @@ func convert_api_Container_To_v1_Container(in *api.Container, out *Container, s
} else {
out.SecurityContext = nil
}
out.Stdin = in.Stdin
out.TTY = in.TTY
return nil
}
@@ -2472,6 +2474,8 @@ func convert_v1_Container_To_api_Container(in *Container, out *api.Container, s
} else {
out.SecurityContext = nil
}
out.Stdin = in.Stdin
out.TTY = in.TTY
return nil
}