Skip to main content

KUBE_KEY_MATCH_LABELS

Constant KUBE_KEY_MATCH_LABELS 

Source
pub const KUBE_KEY_MATCH_LABELS: &str = "matchLabels";
Expand description

Canonical K8s API key naming the matchLabels axis of a LabelSelector — the equality-based projection of the selector schema (the other axis, matchExpressions, is set-based and intentionally out-of-scope for the V0 label_selector helper). Spelled exactly as the K8s apiserver expects (camelCase matchLabels, not match_labels / MatchLabels / match-labels) so the rendered YAML round-trips through every K8s schema parser (Cilium CRDs, Gateway API, ComputeUnit, future mesh.pleme.io/v1alpha1/Aplicacao) without per-renderer string drift.