resolve_ips

Function resolve_ips 

Source
pub fn resolve_ips(
    annotations: &BTreeMap<String, String>,
    default_ips: &[String],
    ingress: &Ingress,
) -> Option<Vec<String>>
Expand description

Resolves the IP address(es) to use for an ARecord, in priority order:

  1. bindy.firestoned.io/ip annotation — explicit single-IP override
  2. default_ips — operator-configured default IPs (e.g. shared Traefik ingress VIP)
  3. Ingress LoadBalancer status — first non-empty IP

Returns None if no IP can be determined from any source.