httproute_arecord_cr_name

Function httproute_arecord_cr_name 

Source
pub fn httproute_arecord_cr_name(
    cluster: &str,
    namespace: &str,
    route_name: &str,
    hostname_index: usize,
) -> String
Expand description

Derives the ARecord CR name for an HTTPRoute.

Format: scout-{cluster}-{namespace}-{route_name}-{hostname_index}

One ARecord per hostname in spec.hostnames[]. Index tracks which hostname this ARecord is for. Applies the same sanitisation and 253-char truncation as Ingress CR names.