mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Fix apiserver help message
This commit is contained in:
parent
156c4b443b
commit
acad74670d
@ -115,7 +115,7 @@ func (s *SecureServingOptions) AddFlags(fs *pflag.FlagSet) {
|
|||||||
"File containing the default x509 Certificate for HTTPS. (CA cert, if any, concatenated "+
|
"File containing the default x509 Certificate for HTTPS. (CA cert, if any, concatenated "+
|
||||||
"after server cert). If HTTPS serving is enabled, and --tls-cert-file and "+
|
"after server cert). If HTTPS serving is enabled, and --tls-cert-file and "+
|
||||||
"--tls-private-key-file are not provided, a self-signed certificate and key "+
|
"--tls-private-key-file are not provided, a self-signed certificate and key "+
|
||||||
"are generated for the public address and saved to /var/run/kubernetes.")
|
"are generated for the public address and saved to the directory specified by --cert-dir.")
|
||||||
|
|
||||||
fs.StringVar(&s.ServerCert.CertKey.KeyFile, "tls-private-key-file", s.ServerCert.CertKey.KeyFile,
|
fs.StringVar(&s.ServerCert.CertKey.KeyFile, "tls-private-key-file", s.ServerCert.CertKey.KeyFile,
|
||||||
"File containing the default x509 private key matching --tls-cert-file.")
|
"File containing the default x509 private key matching --tls-cert-file.")
|
||||||
|
Loading…
Reference in New Issue
Block a user