Skip to content

Rendered manifests

The manifests in a bundle are rendered from the install spec, and the spec is the authoring surface. Editing a rendered manifest is the exception, for what the spec cannot express.

Why the contract renders them

Naming is derived, and the derivation has to agree in several places at once. One value, dp_install, produces the namespace, the StatefulSet, the Service, the enrollment secret name, and the node labels, and those names then appear in the cloud identities, the federation bindings, the invitation keys, and the enrollment records.

flowchart TB
  DPI["dp_install"] --> NS["namespace"]
  DPI --> SS["statefulset_name"]
  SS --> SVC["service_name"]
  SS --> SEC["enrollment_secret_name"]
  SS --> NL["node labels"]
  NL --> INV["invitation keys"]
  NS --> SA["service account annotations"]
  SA --> CLOUD["cloud identity federation"]

A hand-written manifest that renames one of these breaks the others silently: the pod comes up, finds no invitation keyed to its name, and never enrols.

The operator runbooks used to teach replacing the data plane template by hand. The contract now owns install-scoped naming, which is what removed that class of failure.

What the spec expresses

Most of what you would reach into a manifest for is a spec field:

To change Set
The namespace namespace, or --runtime-namespace
Service account names runtime.service_account, build.service_account
The runtime image runtime.image, or --runtime-image
Node count dp_count
Project, model and build namespaces the node may host scheduler_authority
Cloud identity names runtime.cloud_identity_name, build.cloud_identity_name
Registry and bucket artifact_registry.path, artifact_bucket.path
Provider values and endpoints provider_config

Changing these in the spec and re-preparing keeps every derived name consistent. See Two ways to drive install.

When to edit a rendered file

Some things the spec does not carry: an organization-specific IAM resource, a cluster policy annotation, a resource request your platform mandates. Those are edited in the rendered file between prepare and apply, and apply reads each file from disk as it uses it.

The trade is that prepare rewrites all nine files, so such an edit is a diff you re-apply rather than a setting that persists. See Editing generated files.

What is fixed rather than rendered from your input

Some content is architecture-level and carries no spec field or flag: kernel ports and features, transport, fabric peers, project namespace routing, and model binding route policy. The private fabric is fixed as xratu_managed_private_fabric, and the workload kind as statefulset.

These are rendered the same way on every installation, which is what keeps the node shape identical across clouds.

The one manifest with a deliberate blank

Azure's service account annotations render as placeholders, because the client IDs exist only after Terraform has run:

    azure.workload.identity/client-id: REPLACE_RUNTIME_CLIENT_ID_FROM_TERRAFORM

That one is meant to be edited, between the cloud layer and the cluster layer. See Provider configuration.