mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
Fix typo
Write "HTTP" (and not "HTTPS") to describe plain HTTP.
This commit is contained in:
parent
01a5ec3d3d
commit
82fd3e2fa7
@ -47,7 +47,7 @@ func (o *CombinedInsecureServingOptions) AddFlags(fs *pflag.FlagSet) {
|
|||||||
fs.StringVar(&o.BindAddress, "address", o.BindAddress, "DEPRECATED: the IP address on which to listen for the --port port (set to 0.0.0.0 for all IPv4 interfaces and :: for all IPv6 interfaces). See --bind-address instead.")
|
fs.StringVar(&o.BindAddress, "address", o.BindAddress, "DEPRECATED: the IP address on which to listen for the --port port (set to 0.0.0.0 for all IPv4 interfaces and :: for all IPv6 interfaces). See --bind-address instead.")
|
||||||
// MarkDeprecated hides the flag from the help. We don't want that:
|
// MarkDeprecated hides the flag from the help. We don't want that:
|
||||||
// fs.MarkDeprecated("address", "see --bind-address instead.")
|
// fs.MarkDeprecated("address", "see --bind-address instead.")
|
||||||
fs.IntVar(&o.BindPort, "port", o.BindPort, "DEPRECATED: the port on which to serve HTTP insecurely without authentication and authorization. If 0, don't serve HTTPS at all. See --secure-port instead.")
|
fs.IntVar(&o.BindPort, "port", o.BindPort, "DEPRECATED: the port on which to serve HTTP insecurely without authentication and authorization. If 0, don't serve plain HTTP at all. See --secure-port instead.")
|
||||||
// MarkDeprecated hides the flag from the help. We don't want that:
|
// MarkDeprecated hides the flag from the help. We don't want that:
|
||||||
// fs.MarkDeprecated("port", "see --secure-port instead.")
|
// fs.MarkDeprecated("port", "see --secure-port instead.")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user