You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix ipMode being set without an IP when using the hostname annotation (#78)
When using the `load-balancer.hetzner.cloud/hostname` annotation, the CCM was incorrectly setting `ipMode` in the LoadBalancer status without an accompanying IP address. This violates Kubernetes validation rules, which require `ipMode` to be set only when `ip` is also present.
This caused continuous sync failures with the error:
"status.loadBalancer.ingress[0].ipMode: Forbidden: may not be specified when `ip` is not set"
The fix aligns with the upstream hcloud-cloud-controller-manager behavior by returning only the hostname without `ipMode` when the hostname annotation is used.
0 commit comments