Merge pull request #103249 from wangyysde/update-kubeadm-help-msg

correct example command of kubeadm help
This commit is contained in:
Kubernetes Prow Robot 2021-06-28 14:24:28 -07:00 committed by GitHub
commit bb309b5706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ var (
`)
generateCSRExample = cmdutil.Examples(`
# The following command will generate keys and CSRs for all control-plane certificates and kubeconfig files:
kubeadm alpha certs generate-csr --kubeconfig-dir /tmp/etc-k8s --cert-dir /tmp/etc-k8s/pki
kubeadm certs generate-csr --kubeconfig-dir /tmp/etc-k8s --cert-dir /tmp/etc-k8s/pki
`)
)