pub struct RuntimeMetadata {Show 29 fields
pub deletion_policy: DeletionPolicy,
pub airgapped_report: Option<AirgappedReportMetadata>,
pub operator_version: Option<String>,
pub credential_retry: Option<CredentialRetry>,
pub initial_setup_authority: InitialSetupAuthority,
pub automatic_setup: bool,
pub first_setup_machines_unselected: bool,
pub last_synced_env_vars_hash: Option<String>,
pub last_synced_secret_names: Vec<String>,
pub vault_credentials_revoked: bool,
pub retained_storage_protection_hash: Option<String>,
pub retained_storage_protection_confirmed_at: Option<DateTime<Utc>>,
pub retained_data_protection_started_at: Option<DateTime<Utc>>,
pub prepared_stack: Option<Stack>,
pub persisted_gate_answers: GateAnswers,
pub pending_prepared_stack: Option<Stack>,
pub pending_prepared_release_id: Option<String>,
pub setup_update_authorization: Option<SetupUpdateAuthorization>,
pub setup_report_refusal: Option<SetupReportRefusal>,
pub cloud_setup_required: Option<CloudSetupRequired>,
pub installed_helm_release: Option<InstalledHelmRelease>,
pub direct_setup_revision: Option<String>,
pub registry_access_granted: bool,
pub registry_access: Option<RegistryAccess>,
pub setup_scaffolding: BTreeMap<String, SetupScaffolding>,
pub deployer_secrets: Vec<DeployerSecretReport>,
pub ai_access_checks: Vec<AiAccessCheck>,
pub deployer_secrets_checked_at: Option<DateTime<Utc>>,
pub resources_waiting_for_secrets: Vec<String>,
}Expand description
Runtime metadata for deployment
Stores deployment state that needs to persist across step calls.
Fields§
§deletion_policy: DeletionPolicyUser-authorized data disposition, persisted before deletion starts.
airgapped_report: Option<AirgappedReportMetadata>Most recent air-gapped report accepted by the manager.
operator_version: Option<String>Version of the Operator binary that last reported this deployment, set by the manager from the sync request. Missing until an Operator that reports its version has synced.
credential_retry: Option<CredentialRetry>Bounded credential retry state shared by all deployment drivers.
Actor authorized to perform structural Frozen-resource work during InitialSetup. Missing legacy values fail closed as ImportedHandoff.
automatic_setup: boolSetup-owned grant to keep using the direct setup executor for updates. Runtime settings and release contents must never create or change this grant.
first_setup_machines_unselected: boolAn imported install whose machines have not been selected yet. Set when the setup import registers the deployment; the first InitialSetup step picks machines from free quota and clears it with the same result, so the pick happens once and a later step never re-picks against quota that its own machines reduced. Deployments stored without it deserialize as done.
last_synced_env_vars_hash: Option<String>Hash of the environment variables snapshot that was last synced to the vault Used to avoid redundant sync operations during incremental deployment
last_synced_secret_names: Vec<String>Exact vault keys owned by the deployment secret synchronizer. This inventory lets a later snapshot delete removed keys without listing or touching unrelated values in the same vault.
vault_credentials_revoked: boolCredential revocation completed before resource teardown. A delete retry can use this receipt after the vault or its binding is gone. Secret sync clears it before a deployment can write runtime credentials again.
retained_storage_protection_hash: Option<String>Digest of the installed data inventory whose runtime public-access and expiry configuration was protected before cleanup. The serialized field name is retained for compatibility. This is not a receipt for effective expiry propagation or privileged setup teardown.
retained_storage_protection_confirmed_at: Option<DateTime<Utc>>UTC API-confirmation time for the matching data protection digest. Provider propagation must be qualified separately before final retention.
retained_data_protection_started_at: Option<DateTime<Utc>>Start of the bounded wait for retained data’s expiry controls to disable. Cleared on confirmation, explicit retry, or returning to normal execution.
prepared_stack: Option<Stack>The prepared (mutated) stack from the last successful deployment phase This is the stack AFTER mutations have been applied (with service accounts, vault, etc.) Used for compatibility checks during updates to compare mutated stacks
persisted_gate_answers: GateAnswersCanonical resolved answers for inputs that gate Frozen resources, keyed by input id, recorded when the deployment is created or its setup import registers.
Manual installations keep these answers fixed. An installation with an ongoing-management grant refreshes them when preparing a release. Live resources sharing a gate use the same recorded answer as Frozen resources.
pending_prepared_stack: Option<Stack>Prepared target for an update that has not reached Running yet. Keeping it separate preserves the last successful baseline across retries.
pending_prepared_release_id: Option<String>Release the in-flight stack was prepared from: pending_prepared_stack
during updates, or prepared_stack during local first startup. The target can move
to a newer release while that stack is still being applied; this tells
the update which release actually converged.
One-shot setup update authority. It contains only non-secret identity and canonical resource digests, never the imported payload or tokens.
setup_report_refusal: Option<SetupReportRefusal>Why the manager last declined a setup report from the installed chart, with when. Cleared when a report is accepted or no longer needed.
cloud_setup_required: Option<CloudSetupRequired>Set while the waiting release changes something only the cloud setup can apply, so a chart upgrade is not offered for it.
installed_helm_release: Option<InstalledHelmRelease>The Helm release the Operator reported it runs as.
direct_setup_revision: Option<String>Last generated CLI package revision whose direct setup was applied. This lets a newer generated CLI refresh setup-owned infrastructure once before handing runtime changes back to the hosted manager.
registry_access_granted: boolWhether cross-account registry access has been successfully granted. Set to true after the manager successfully sets the ECR/GAR repo policy for this deployment’s target account. Prevents redundant API calls on every reconcile tick.
registry_access: Option<RegistryAccess>What that grant opened, compared against what the deployment needs now so a grant made before a resource existed is finished rather than skipped, and the revoke names what was granted. Absent on a grant recorded before this field existed.
setup_scaffolding: BTreeMap<String, SetupScaffolding>What a direct setup created for resources it does not own, keyed by resource id. Setup teardown removes exactly what is recorded here.
deployer_secrets: Vec<DeployerSecretReport>Whether each vault-native deployer secret is in the customer’s secret store, with where it goes. Checked from metadata only; no value is ever read or recorded here.
ai_access_checks: Vec<AiAccessCheck>What a one-token call with the customer admin’s setup credentials said about each model an AI resource declares. Written once, during setup; the AI controller’s heartbeat reports it. Absent when no model is declared or the setup could not check.
deployer_secrets_checked_at: Option<DateTime<Utc>>When deployer_secrets was last read from the customer’s secret store. While the
deployment waits for secrets the check is repeated at most every 30 seconds, because
the engine steps much faster than the store’s rate limits allow.
resources_waiting_for_secrets: Vec<String>Resources held back while a required deployer secret is missing: the ones that read it and everything that depends on them. Everything else keeps installing. Empty once no required secret is missing. An Operator that predates this field leaves it absent, so readers must treat absence as unknown.
Trait Implementations§
Source§impl Clone for RuntimeMetadata
impl Clone for RuntimeMetadata
Source§impl Debug for RuntimeMetadata
impl Debug for RuntimeMetadata
Source§impl Default for RuntimeMetadata
impl Default for RuntimeMetadata
Source§impl<'de> Deserialize<'de> for RuntimeMetadata
impl<'de> Deserialize<'de> for RuntimeMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for RuntimeMetadata
Source§impl PartialEq for RuntimeMetadata
impl PartialEq for RuntimeMetadata
Source§impl Serialize for RuntimeMetadata
impl Serialize for RuntimeMetadata
impl StructuralPartialEq for RuntimeMetadata
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeMetadata
impl !UnwindSafe for RuntimeMetadata
impl Forget for RuntimeMetadata
impl Freeze for RuntimeMetadata
impl Move for RuntimeMetadata
impl Send for RuntimeMetadata
impl Sync for RuntimeMetadata
impl Unpin for RuntimeMetadata
impl UnsafeUnpin for RuntimeMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.