Merge pull request #12007 from brendandburns/stdin

Auto commit by PR queue bot
This commit is contained in:
Alex Mohr
2015-08-03 19:28:16 -07:00
8 changed files with 7046 additions and 8089 deletions

View File

@@ -726,6 +726,11 @@ type Container struct {
ImagePullPolicy PullPolicy `json:"imagePullPolicy"`
// Optional: SecurityContext defines the security options the pod should be run with
SecurityContext *SecurityContext `json:"securityContext,omitempty"`
// Variables for interactive containers, these have very specialized use-cases (e.g. debugging)
// and shouldn't be used for general purpose containers.
Stdin bool `json:"stdin,omitempty" description:"Whether this container should allocate a buffer for stdin in the container runtime; default is false"`
TTY bool `json:"tty,omitempty" description:"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true; default is false"`
}
// Handler defines a specific action that should be taken