resolve_ips_from_annotation

Function resolve_ips_from_annotation 

Source
pub fn resolve_ips_from_annotation(
    annotations: &BTreeMap<String, String>,
) -> Option<Vec<String>>
Expand description

Returns the explicit IP overrides from the bindy.firestoned.io/ip annotation.

The value may be a single IP ("10.0.0.1") or a comma-separated list ("10.0.0.1,10.0.0.2,10.0.0.3"). Whitespace around each entry is trimmed and empty entries are skipped, preserving order and duplicates.

Returns None if the annotation is absent, empty, or contains only separators/whitespace.