Delete "hard-coded" default value in flags usage.

Kubernetes-commit: 420caf200cdb1ba41d6af43c5695c29de2082851
This commit is contained in:
xiangpengzhao 2017-04-07 11:21:37 +08:00 committed by Kubernetes Publisher
parent 5c05b950f8
commit 1512c30ca6
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ func (o *AuditLogOptions) AddFlags(fs *pflag.FlagSet) {
fs.IntVar(&o.MaxBackups, "audit-log-maxbackup", o.MaxBackups,
"The maximum number of old audit log files to retain.")
fs.IntVar(&o.MaxSize, "audit-log-maxsize", o.MaxSize,
"The maximum size in megabytes of the audit log file before it gets rotated. Defaults to 100MB.")
"The maximum size in megabytes of the audit log file before it gets rotated.")
}
func (o *AuditLogOptions) ApplyTo(c *server.Config) error {

View File

@ -101,7 +101,7 @@ func (s *SecureServingOptions) AddFlags(fs *pflag.FlagSet) {
"don't serve HTTPS at all.")
fs.StringVar(&s.ServerCert.CertDirectory, "cert-dir", s.ServerCert.CertDirectory, ""+
"The directory where the TLS certs are located (by default /var/run/kubernetes). "+
"The directory where the TLS certs are located. "+
"If --tls-cert-file and --tls-private-key-file are provided, this flag will be ignored.")
fs.StringVar(&s.ServerCert.CertKey.CertFile, "tls-cert-file", s.ServerCert.CertKey.CertFile, ""+