Task · SKT-0149

Let Synthetic Monitoring cleanup run after SM is disabled or deselected, and package it for Kubernetes

Description

sm-provision cleanup (SKT-0140) binds durable intent to the emitter’s published private snapshot, so it refuses (‘the current private snapshot is unavailable to bind durable intent’) once the emitter publishes a nil snapshot: when synthetic_monitoring is listed in STARTUP_DISABLED_KINDS or SM is deselected. An emission-only operator therefore has to re-enable SM, restart and briefly resume SM emission to clean up. The Helm chart’s sm-provision Job also runs apply only, so cleanup has no packaged Kubernetes route. Add a target-bound binding that does not depend on a live snapshot (smstore change), and a chart-supported cleanup invocation.

Acceptance Criteria

Definition of Done

Implementation Notes

Landed 0abb9d7 (loop50 BATCH9). Main CI green on 8e7f233.

View the source file on GitHub