mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Merge pull request #101449 from CaoDonghui123/fix5
kubeadm: allow passing the flag --log-file if --config is passed
This commit is contained in:
commit
e78e692f33
@ -568,7 +568,7 @@ func isAllowedFlag(flagName string) bool {
|
||||
kubeadmcmdoptions.KubeconfigDir,
|
||||
kubeadmcmdoptions.UploadCerts,
|
||||
kubeadmcmdoptions.Patches,
|
||||
"print-join-command", "rootfs", "v")
|
||||
"print-join-command", "rootfs", "v", "log-file")
|
||||
if allowedFlags.Has(flagName) {
|
||||
return true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user