Merge pull request #12007 from brendandburns/stdin
Auto commit by PR queue bot
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user