pub async fn merge_status<K, S>(
api: &Api<K>,
name: &str,
status: &S,
) -> Result<K, Error>where
K: Resource + DeserializeOwned + Clone + Debug,
K::DynamicType: Default,
S: Serialize + ?Sized,Expand description
Merge-patch the /status subresource of any kube Resource with
a typed status value.
Owns the 2-step wire-side chain merge_status_body(status) → Api::patch_status(name, PatchParams::default(), Patch::Merge) at
ONE substrate owner across every workspace controller. Pre-lift the
chain recurred at 7 hand-authored sites (4 in
tatara-pool-reconciler::controller_allocation, 2 in
tatara-pool-reconciler::controller_pool, 1 wrapped inside
tatara-reconciler::patch::patch_process_status) past the ★★
PRIME-DIRECTIVE ≥ 2 duplication trigger.
A future normalization of the merge-patch posture (an injectable
field manager for status writes, a strategic-merge escape hatch, a
dry-run gate for one-shot dry-runs, an added resourceVersion
precondition slot) lands at THIS ONE function and every downstream
consumer inherits the upgrade mechanically.