Skip to main content

observe

Function observe 

Source
pub async fn observe(
    client: &KanidmClient,
    metrics: &ControllerMetrics,
    kube: Client,
    radius: &KanidmRadiusServer,
    identity: &RadiusIdentity,
) -> ExecResult<Observation>
Expand description

Observe Kanidm and Kubernetes for one reconcile.

Fails with ExecError::ForeignObject if the Deployment name is held by an object we do not control, before anything is minted. The account must already exist (call ensure_identity first).