Skip to main content

api_version

Function api_version 

Source
pub fn api_version() -> String
Expand description

Canonical <GROUP>/<VERSION> as an owned String — the ONE K8s apiVersion shape every tatara CRD stamps. Composed from GROUP + VERSION so a bump of either constant lands here exactly once; pre-lift, two tatara-reconciler sites hand-wrote format!("{}/{}", tatara_process::GROUP, tatara_process::VERSION) while a third inlined the literal "tatara.pleme.io/v1alpha1", opening a silent drift path if VERSION ever advances past v1alpha1.