kubeadm init phase upload-certs: add flag --kubeconfig

This commit is contained in:
zhanwang 2020-09-14 17:48:20 +08:00 committed by GitHub
parent 66334f02e8
commit ae03350e30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,7 @@ func NewUploadCertsPhase() workflow.Phase {
Run: runUploadCerts, Run: runUploadCerts,
InheritFlags: []string{ InheritFlags: []string{
options.CfgPath, options.CfgPath,
options.KubeconfigPath,
options.UploadCerts, options.UploadCerts,
options.CertificateKey, options.CertificateKey,
options.SkipCertificateKeyPrint, options.SkipCertificateKeyPrint,