options, kube-apiserver: clarify scheme on etcd endpoints

When etcd server uses TLS, the scheme should be https.
This commit is contained in:
Gyu-Ho Lee 2016-11-06 13:22:58 -08:00
parent 182a09c3c7
commit ce26f21ee6
No known key found for this signature in database
GPG Key ID: 1DDD39C7EB70C24C

View File

@ -32,7 +32,7 @@ func (s *ServerRunOptions) AddEtcdStorageFlags(fs *pflag.FlagSet) {
"format: group/resource#servers, where servers are http://ip:port, semicolon separated.")
fs.StringSliceVar(&s.StorageConfig.ServerList, "etcd-servers", s.StorageConfig.ServerList,
"List of etcd servers to connect with (http://ip:port), comma separated.")
"List of etcd servers to connect with (scheme://ip:port), comma separated.")
fs.StringVar(&s.StorageConfig.Prefix, "etcd-prefix", s.StorageConfig.Prefix,
"The prefix for all resource paths in etcd.")