From 57e74717292d22af41fe75312503623c62a00a1b Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Fri, 15 Dec 2017 20:05:21 +0000 Subject: [PATCH] Fix a typo and improve some documentation. --- pkg/kubeapiserver/options/serving.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kubeapiserver/options/serving.go b/pkg/kubeapiserver/options/serving.go index d3d2614921..79e3f67500 100644 --- a/pkg/kubeapiserver/options/serving.go +++ b/pkg/kubeapiserver/options/serving.go @@ -85,7 +85,7 @@ func (s InsecureServingOptions) Validate(portArg string) []error { errors := []error{} if s.BindPort < 0 || s.BindPort > 65535 { - errors = append(errors, fmt.Errorf("--insecure-port %v must be between 0 and 65535, inclusive. 0 for turning off secure port.", s.BindPort)) + errors = append(errors, fmt.Errorf("--insecure-port %v must be between 0 and 65535, inclusive. 0 for turning off insecure (HTTP) port.", s.BindPort)) } return errors @@ -103,7 +103,7 @@ func (s *InsecureServingOptions) AddFlags(fs *pflag.FlagSet) { "The port on which to serve unsecured, unauthenticated access. It is assumed "+ "that firewall rules are set up such that this port is not reachable from outside of "+ "the cluster and that port 443 on the cluster's public address is proxied to this "+ - "port. This is performed by nginx in the default setup.") + "port. This is performed by nginx in the default setup. Set to zero to disable") } func (s *InsecureServingOptions) AddDeprecatedFlags(fs *pflag.FlagSet) {