Skip to main content

ensure_config_secret

Function ensure_config_secret 

Source
pub async fn ensure_config_secret(
    api: &Api<Secret>,
    desired: &Secret,
    owner: &OwnerReference,
) -> ExecResult<SecretOutcome>
Expand description

Create the immutable config Secret if absent. Never patches or overwrites: an existing Secret (found by GET, or by a 409 from a racing reconcile) must be ours and identical, otherwise it is a conflict.