arecord_cr_name

Function arecord_cr_name 

Source
pub fn arecord_cr_name(
    cluster: &str,
    namespace: &str,
    ingress_name: &str,
    host_index: usize,
) -> String
Expand description

Builds a sanitized Kubernetes resource name for an ARecord CR.

Format: scout-{cluster}-{namespace}-{ingress}-{index}

All characters are lowercased. Underscores and any non-alphanumeric characters (other than hyphens) are replaced with hyphens. The result is truncated to 253 characters to stay within the Kubernetes name limit.