From ae835f21a08cc7ff9aa17b0dd81b2846e014f117 Mon Sep 17 00:00:00 2001 From: Paco Xu Date: Tue, 10 Aug 2021 13:34:45 +0800 Subject: [PATCH] Update kinder/pkg/cluster/manager/actions/kubeadm-upgrade.go Co-authored-by: Lubomir I. Ivanov --- kinder/pkg/cluster/manager/actions/kubeadm-upgrade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kinder/pkg/cluster/manager/actions/kubeadm-upgrade.go b/kinder/pkg/cluster/manager/actions/kubeadm-upgrade.go index 0e79e072..2ffe9c7a 100644 --- a/kinder/pkg/cluster/manager/actions/kubeadm-upgrade.go +++ b/kinder/pkg/cluster/manager/actions/kubeadm-upgrade.go @@ -129,7 +129,7 @@ func kubeadmUpgradeApply(c *status.Cluster, cp1 *status.Node, upgradeVersion *K8 } if patchesDir != "" { if cp1.MustKubeadmVersion().LessThan(constants.V1_22) { - applyArgs = append(applyArgs, "--patches", constants.PatchesDir) + applyArgs = append(applyArgs, "--experimental-patches", constants.PatchesDir) } } if err := cp1.Command(