mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Merge pull request #78542 from neolit123/kubeadm-mixed-cert-key
kubeadm: disallow the mixture of --config and --certificate-key
This commit is contained in:
commit
c81ae93159
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user