Skip to main content

build_workload

Function build_workload 

Source
pub fn build_workload(
    radius: &KanidmRadiusServer,
    image: String,
    config_secret: &str,
    token_id: &str,
    inputs_digest: &str,
) -> Result<RadiusWorkload, RadiusWorkloadError>
Expand description

Derive the entire desired workload from the CR, the immutable config Secret and the token id it was rendered with. Never derive owner identity from the reusable resource name.