Add ctr flags for configuring default TLS credentials.

Signed-off-by: John Millikin <jmillikin@stripe.com>
This commit is contained in:
John Millikin
2020-05-26 12:08:21 +09:00
parent 4cbf59db82
commit b8ccdcb07d
2 changed files with 53 additions and 5 deletions

View File

@@ -66,6 +66,18 @@ var (
// compatible with "/etc/docker/certs.d"
Usage: "Custom hosts configuration directory",
},
cli.StringFlag{
Name: "tlscacert",
Usage: "path to TLS root CA",
},
cli.StringFlag{
Name: "tlscert",
Usage: "path to TLS client certificate",
},
cli.StringFlag{
Name: "tlskey",
Usage: "path to TLS client key",
},
}
// ContainerFlags are cli flags specifying container options