From bb656f97f1fa6d043dc3465285ba8bf4959cd595 Mon Sep 17 00:00:00 2001 From: yupengzte Date: Thu, 30 Mar 2017 19:08:33 +0800 Subject: [PATCH] Fix typo Signed-off-by: yupengzte --- docs/user-guide/kubectl/kubectl_stop.md | 2 +- staging/src/k8s.io/client-go/tools/clientcmd/overrides.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/kubectl/kubectl_stop.md b/docs/user-guide/kubectl/kubectl_stop.md index faccf6f828..57fa8e3b6e 100644 --- a/docs/user-guide/kubectl/kubectl_stop.md +++ b/docs/user-guide/kubectl/kubectl_stop.md @@ -50,7 +50,7 @@ $ kubectl stop -f path/to/resources ``` --alsologtostderr[=false]: log to standard error as well as files --api-version="": The API version to use when talking to the server - --certificate-authority="": Path to a cert. file for the certificate authority. + --certificate-authority="": Path to a cert file for the certificate authority. --client-certificate="": Path to a client certificate file for TLS. --client-key="": Path to a client key file for TLS. --cluster="": The name of the kubeconfig cluster to use diff --git a/staging/src/k8s.io/client-go/tools/clientcmd/overrides.go b/staging/src/k8s.io/client-go/tools/clientcmd/overrides.go index f18aa6a4ae..9ab8b65407 100644 --- a/staging/src/k8s.io/client-go/tools/clientcmd/overrides.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/overrides.go @@ -163,7 +163,7 @@ func RecommendedClusterOverrideFlags(prefix string) ClusterOverrideFlags { return ClusterOverrideFlags{ APIServer: FlagInfo{prefix + FlagAPIServer, "", "", "The address and port of the Kubernetes API server"}, APIVersion: FlagInfo{prefix + FlagAPIVersion, "", "", "DEPRECATED: The API version to use when talking to the server"}, - CertificateAuthority: FlagInfo{prefix + FlagCAFile, "", "", "Path to a cert. file for the certificate authority"}, + CertificateAuthority: FlagInfo{prefix + FlagCAFile, "", "", "Path to a cert file for the certificate authority"}, InsecureSkipTLSVerify: FlagInfo{prefix + FlagInsecure, "", "false", "If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure"}, } }