pub fn parse_gateway_services(
raw: &str,
) -> BTreeMap<String, GatewayServiceTarget>Expand description
Parses the operator’s gatewayClass → LoadBalancer Service map from a single
comma-separated string (the BINDY_SCOUT_GATEWAY_SERVICES env form).
Each entry is class=<target>, where <target> is either namespace/name
or namespace/<label-selector>, e.g.
traefik=traefik/traefik,cilium=kube-system/app.kubernetes.io/name=cilium.
Malformed entries are skipped. Because commas separate entries here,
multi-label selectors (which use commas) must be supplied via the repeatable
--gateway-service CLI flag instead. The map’s keys double as the allow-list
of gateway classes Scout will follow.