Support stdinOnce, which allows run-once STDIN injection
This allows containers to wait for input before startup by listening on STDIN, and after STDIN is closed, continue running. Matches the Docker syntax.
This commit is contained in:
@@ -238,6 +238,7 @@ func deepCopy_api_Container(in Container, out *Container, c *conversion.Cloner)
|
||||
out.SecurityContext = nil
|
||||
}
|
||||
out.Stdin = in.Stdin
|
||||
out.StdinOnce = in.StdinOnce
|
||||
out.TTY = in.TTY
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user