Add stream-address and stream-port flags to crio
Signed-off-by: Andrew Pilloud <andrewpilloud@igneoussystems.com>
This commit is contained in:
parent
2a6db15113
commit
c77b5fbea8
4 changed files with 39 additions and 3 deletions
|
@ -71,6 +71,12 @@ func mergeConfig(config *server.Config, ctx *cli.Context) error {
|
|||
if ctx.GlobalIsSet("listen") {
|
||||
config.Listen = ctx.GlobalString("listen")
|
||||
}
|
||||
if ctx.GlobalIsSet("stream-address") {
|
||||
config.StreamAddress = ctx.GlobalString("stream-address")
|
||||
}
|
||||
if ctx.GlobalIsSet("stream-port") {
|
||||
config.StreamPort = ctx.GlobalString("stream-port")
|
||||
}
|
||||
if ctx.GlobalIsSet("runtime") {
|
||||
config.Runtime = ctx.GlobalString("runtime")
|
||||
}
|
||||
|
@ -145,6 +151,14 @@ func main() {
|
|||
Name: "listen",
|
||||
Usage: "path to crio socket",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "stream-address",
|
||||
Usage: "bind address for streaming socket",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "stream-port",
|
||||
Usage: "bind port for streaming socket (default: \"10010\")",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "log",
|
||||
Value: "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue