Merge pull request #101110 from SataQiu/fix-kubeadm-20210414

kubeadm: fix inconsistent usage for --experimental-patches in join phases
This commit is contained in:
Kubernetes Prow Robot 2021-04-16 03:22:22 -07:00 committed by GitHub
commit dd6ee99f62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ func getControlPlaneJoinPhaseFlags(name string) []string {
options.ControlPlane,
options.NodeName,
}
if name == "etcd" {
if name == "etcd" || name == "all" {
flags = append(flags, options.Patches)
}
if name != "mark-control-plane" {