Merge pull request #78542 from neolit123/kubeadm-mixed-cert-key

kubeadm: disallow the mixture of --config and --certificate-key
This commit is contained in:
Kubernetes Prow Robot
2019-06-01 09:51:07 -07:00
committed by GitHub

View File

@@ -433,7 +433,6 @@ func isAllowedFlag(flagName string) bool {
kubeadmcmdoptions.KubeconfigDir,
kubeadmcmdoptions.UploadCerts,
kubeadmcmdoptions.ExperimentalUploadCerts,
kubeadmcmdoptions.CertificateKey,
"print-join-command", "rootfs", "v")
if knownFlags.Has(flagName) {
return true