Cluster controller crashes when setting APIServerLoadBalancer.AllowedCIDRs #1976
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
/kind bug
What steps did you take and what happened:
The latest release so far, 0.9.0 has a bug that needs to be fixed. When setting the
OpenStackClusterSpec.APIServerLoadBalancer.AllowedCIDRs
property, the load balancer controller tries to read the router IP list to add to add to the list of allowedCIRs from the cluster status but if the router is not set the controller crashes.Related discussion on slack:
https://kubernetes.slack.com/archives/CFKJB65G9/p1710773457623259
What did you expect to happen:
The cluster controller to reconcile the load balancer and set the list of allowed CIDR ranges.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
This issue is already solved on the main branch but we need a fix for the 0.9 release.
Environment:
git rev-parse HEAD
if manually built): v0.9.0kubectl version
): v1.29.2/etc/os-release
):The text was updated successfully, but these errors were encountered: