Skip to main content

GROUP_PREFIX

Constant GROUP_PREFIX 

Source
pub const GROUP_PREFIX: &str;
Expand description

Shared reverse-DNS namespace prefix every substrate-owned annotation key in this module carries — the same tatara.pleme.io/ group segment every tatara-owned CRD annotation + finalizer key rides through, matching the #[kube(group = "tatara.pleme.io", …)] derive slot on every tatara CRD struct.

Compile-time alias of the crate-wide substrate owner crate::GROUP_PREFIX — the ONE pub const &'static str that owns the <GROUP>/ byte-shape every tatara wire-form key uses as its reverse-DNS prefix. Pre-lift this const restated the literal "tatara.pleme.io/" inline as a byte-parity mirror of the sibling crate::finalizers::GROUP_PREFIX (pinned equal by [crate::annotations_family_tests::group_prefix_matches_finalizers_group_prefix]); post-lift both peer consts route through crate::GROUP_PREFIX so byte equality holds by construction (the same &'static str address), and a future rename of the reverse-DNS root (a "tatara.pleme.io/v2/" migration under a group-segment bump, a per-fleet override, an alias table for cross-cluster ownership) lands at the ONE crate-root const with every peer wire-form consumer inheriting the shift mechanically rather than at three independent per-module string literals.

Pinned across every arm of ALL by [crate::annotations_family_tests::all_share_group_prefix] so a future addition to the annotation family that drifted the prefix (a tatara.io/ copy-paste that silently escaped the K8s-side reverse-DNS convention, a group-segment shift on ONE key that missed the ALL slice) surfaces at compile-time / test-time rather than as silent operator-facing skew.