Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit a8247e9

Browse files
committed
fix: Set controlPlaneEndpoint address up for kube-vip clusters again.
Signed-off-by: Chris Privitere <[email protected]>
1 parent 921257a commit a8247e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

controllers/packetmachine_controller.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,8 @@ func (r *PacketMachineReconciler) reconcile(ctx context.Context, machineScope *s
368368
addrs = append(addrs, a)
369369
}
370370
controlPlaneEndpointAddress = controlPlaneEndpoint.GetAddress()
371+
case machineScope.PacketCluster.Spec.VIPManager == "KUBE_VIP":
372+
controlPlaneEndpointAddress = controlPlaneEndpoint.GetAddress()
371373
case machineScope.PacketCluster.Spec.VIPManager == emlb.EMLBVIPID:
372374
controlPlaneEndpointAddress = machineScope.Cluster.Spec.ControlPlaneEndpoint.Host
373375
cpemLBConfig = "emlb:///" + machineScope.PacketCluster.Spec.Metro

0 commit comments

Comments
 (0)