Skip to content

Bootstrap profiles and specs

Bootstrap is how a deployment's foundational configuration is declared, validated and activated. Three contract kinds cover the three things that have to be agreed before anything runs, and each is a versioned spec rather than a setting.

Three contract kinds

controlplane.bootstrap.xratu   the control plane's own configuration
dataplane.bootstrap.xratu      what a tenant's nodes are configured with
bootstrap.trust.xratu          the trust bundle in force

Each is declared as a spec, validated, and activated. A deployment's configuration is therefore readable as three documents rather than assembled from scattered settings.

Two profile keys

network_profile    the network posture the runtime operates under
identity_profile   the identity mode workloads run as

These are the two choices everything else derives from. A model's airgapped execution contract checks the network profile; a run's identity context checks the identity profile against the runtime spec. See Airgapped execution and Trust and identity admission.

Specs are applied, reconciled, then activated

flowchart LR
  IN["Spec document"]
  V{{"Validate"}}
  subgraph ST["CONTROL PLANE"]
    direction TB
    AP[("Applied specs<br/>what is declared")]
    AC[("Active contract<br/>what is in force")]
    AP -->|"reconcile, then activate"| AC
  end
  subgraph RD["READERS OF THE ACTIVE CONTRACT"]
    direction TB
    R1["Airgapped execution<br/>network profile"]
    R2["Identity context<br/>identity profile"]
    R3["Tenant artifact runtime"]
  end
  IN --> V -->|"apply"| AP
  AC --> RD

Two boxes hold specs, and only the active one has readers. An applied spec governs nothing until it is activated, which is why "what is declared" and "what is in force" are separate reads.

Applying and activating are separate, so a spec can be recorded and checked before it governs anything. Reading the active specs is its own operation, so "what is declared" and "what is in force" are distinct questions with distinct answers.

The dataplane bootstrap contract is what tenants declare

A tenant's infrastructure team declares its nodes' configuration in the dataplane bootstrap contract, and the control plane resolves from it rather than from a node's own claims. The tenant artifact runtime is resolved this way: which registry and bucket a build publishes to comes from the active contract, not from the node performing the build. See Tenant artifact runtime.

Root tenancy is bootstrapped too

The first tenancy is a bootstrap concern rather than an ordinary create, under its own contract version. A deployment has to be able to create its first organization before any actor holds a role in one, which is why organization.create is available to any authenticated actor. See RBAC evaluation.

A bootstrap policy snapshot always exists

Bootstrap carries a default policy snapshot digest, so there is a digest to verify against from the first moment rather than a null that later code has to handle. A deployment is never in a state where policy has no identity.

Who may read and write bootstrap

Bootstrap surfaces are guarded separately from ordinary tenancy actions, with their own required roles. See Debug controls and guards.