Skip to content

Commit 49b6e40

Browse files
committed
Clean up kube-apiserver reference document
1 parent 1ca0f89 commit 49b6e40

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pkg/kubeapiserver/options/authentication.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func (s *BuiltInAuthenticationOptions) AddFlags(fs *pflag.FlagSet) {
196196
"Identifiers of the API. The service account token authenticator will validate that "+
197197
"tokens used against the API are bound to at least one of these audiences. If the "+
198198
"--service-account-issuer flag is configured and this flag is not, this field "+
199-
"defaults to a single element list containing the issuer URL .")
199+
"defaults to a single element list containing the issuer URL.")
200200

201201
if s.Anonymous != nil {
202202
fs.BoolVar(&s.Anonymous.Allow, "anonymous-auth", s.Anonymous.Allow, ""+

staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func (s *ServerRunOptions) AddUniversalFlags(fs *pflag.FlagSet) {
184184

185185
deprecatedMasterServiceNamespace := metav1.NamespaceDefault
186186
fs.StringVar(&deprecatedMasterServiceNamespace, "master-service-namespace", deprecatedMasterServiceNamespace, ""+
187-
"DEPRECATED: the namespace from which the kubernetes master services should be injected into pods.")
187+
"DEPRECATED: the namespace from which the Kubernetes master services should be injected into pods.")
188188

189189
fs.IntVar(&s.MaxRequestsInFlight, "max-requests-inflight", s.MaxRequestsInFlight, ""+
190190
"The maximum number of non-mutating requests in flight at a given time. When the server exceeds this, "+

staging/src/k8s.io/apiserver/pkg/server/options/serving.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ func (s *SecureServingOptions) AddFlags(fs *pflag.FlagSet) {
147147

148148
desc := "The port on which to serve HTTPS with authentication and authorization."
149149
if s.Required {
150-
desc += "It cannot be switched off with 0."
150+
desc += " It cannot be switched off with 0."
151151
} else {
152-
desc += "If 0, don't serve HTTPS at all."
152+
desc += " If 0, don't serve HTTPS at all."
153153
}
154154
fs.IntVar(&s.BindPort, "secure-port", s.BindPort, desc)
155155

0 commit comments

Comments
 (0)