Skip to content

Commit

Permalink
Fix condition for Kubernetes 1.29 check
Browse files Browse the repository at this point in the history
  • Loading branch information
abhay-krishna committed Jan 31, 2024
1 parent 8afad8d commit 322f19b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func controlPlaneInit() error {
return errors.Wrap(err, "Error comparing kubeadm version with v1.29.0")
}

if k8s129Compare != 1 {
if k8s129Compare != -1 {
err = patchKubeVipManifest()
if err != nil {
return errors.Wrapf(err, "Error patching kube-vip manifest")
Expand Down

0 comments on commit 322f19b

Please sign in to comment.