Skip to content

Commit

Permalink
Update kinder/pkg/cluster/manager/actions/kubeadm-upgrade.go
Browse files Browse the repository at this point in the history
Co-authored-by: Lubomir I. Ivanov <[email protected]>
  • Loading branch information
pacoxu and neolit123 authored Aug 10, 2021
1 parent 43c8781 commit ae835f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kinder/pkg/cluster/manager/actions/kubeadm-upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ae835f2

Please sign in to comment.