We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 68a9ee6 + 578040d commit 046d2e3Copy full SHA for 046d2e3
pkg/cloud/services/loadbalancer/loadbalancer.go
@@ -134,10 +134,13 @@ func (s *Service) ReconcileLoadBalancer(openStackCluster *infrav1.OpenStackClust
134
}
135
136
if allowedCIDRsSupported {
137
- if err := s.getOrUpdateAllowedCIDRS(openStackCluster, listener); err != nil {
138
- return err
+ // Skip reconciliation if network status is nil (e.g. during clusterctl move)
+ if openStackCluster.Status.Network != nil {
139
+ if err := s.getOrUpdateAllowedCIDRS(openStackCluster, listener); err != nil {
140
+ return err
141
+ }
142
+ allowedCIDRs = listener.AllowedCIDRs
143
- allowedCIDRs = listener.AllowedCIDRs
144
145
146
0 commit comments