feat(deploy_tee)!: split configure into operator-join + bootstrap-genesis#50
Merged
Merged
Conversation
…esis Replaces the hand-written node.toml with flags, and splits founding from joining by CLI audience: - `seismic-tee configure` is now join-only: --peer (a URL or a node descriptor that resolves to http://<public_ip>:7878) supplies [enclave].peers; no more --config/node.toml. genesis_node is always false. - `seismic-tee-bootstrap configure --genesis <descriptor>` configures the one founding node (genesis_node=true, no peers). Founding is an internal act, so it lives on the bootstrap CLI, not the operator CLI — an operator can no longer accidentally found a second network. - Both share a `deliver_config` primitive (build + POST + watch), so the POSTed config and tdx-init contract are identical; only genesis_node/peers differ. - configure now honors watch_luks_provisioning's exit code: a node that never reaches ready no longer prints a misleading "NODE CONFIGURED". The POSTed TOML ([domain]/[enclave]/[network]) and the SEISMIC_ENCLAVE_* env contract are unchanged; tdx-init is untouched. A parallel cohort mode for `seismic-tee-bootstrap configure` (one genesis + N joiners, POSTed and watched in parallel) is the planned follow-up.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the hand-written node.toml with flags, and splits founding from joining by CLI audience:
seismic-tee configureis now join-only: --peer (a URL or a node descriptor that resolves to http://<public_ip>:7878) supplies [enclave].peers; no more --config/node.toml. genesis_node is always false.seismic-tee-bootstrap configure --genesis <descriptor>configures the one founding node (genesis_node=true, no peers). Founding is an internal act, so it lives on the bootstrap CLI, not the operator CLI — an operator can no longer accidentally found a second network.deliver_configprimitive (build + POST + watch), so the POSTed config and tdx-init contract are identical; only genesis_node/peers differ.The POSTed TOML ([domain]/[enclave]/[network]) and the SEISMIC_ENCLAVE_* env contract are unchanged; tdx-init is untouched. A parallel cohort mode for
seismic-tee-bootstrap configure(one genesis + N joiners, POSTed and watched in parallel) is the planned follow-up.