chore: add Hero WARP enrollment credentials - #63
Merged
Conversation
Contributor
OpenTofu TestOpenTofu test passed. View run output |
Contributor
OpenTofu PlanOpenTofu plan passed. View run outputOpenTofu will perform the following actions:
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
Plan: 0 to add, 9 to change, 0 to destroy.
OpenTofu will perform the following actions:
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
Plan: 0 to add, 9 to change, 0 to destroy. |
14 tasks
xnoto
added a commit
that referenced
this pull request
Sep 9, 2026
## Summary Distribute the existing owner-designated encrypted SSH identity from `tfroot-github` to `hero-host-config` under the two exact secret names consumed by its manual check-only workflow: - `HERO_HOST_CONFIG_SSH_PRIVATE_KEY` - `HERO_HOST_CONFIG_SSH_KNOWN_HOSTS` The source fields and existing `tfroot-libvirt` recipients are unchanged. No SOPS ciphertext is read, changed, or decrypted. Fixes # None. ## Type of change - [ ] Bug fix - [x] Feature / enhancement - [ ] Documentation - [x] Infrastructure (OpenTofu root or module) - [ ] GitOps desired state (manifests, kustomize, charts, SOPS/KSOPS secrets) - [ ] Container image - [ ] CI / reusable workflow - [ ] Refactor / cleanup - [ ] Breaking change ## Validation - [ ] Required pull-request checks pass — pending `opentofu / test` and `opentofu / plan`. - [x] Generated or centrally distributed files were regenerated by their owning automation, not hand-edited — not applicable; this is the canonical central distribution declaration and no target-repository file was edited. - Infrastructure-security review found no Critical, High, or Medium findings. - Release review verified the net diff is restricted to the two intended Hero mappings, source fields remain unchanged, and the consumer workflow references the exact destination names. - No local OpenTofu init, plan, apply, destroy, import, state operation, or secret decryption was run or claimed. ## Impact and rollout **Producer:** `tfroot-github` is the canonical owner of the encrypted-source reference and GitHub Actions secret distribution. **Consumer:** after PR merge and the separate environment-gated `main` apply, `hero-host-config` will receive the two named secrets for its existing manual WARP/Ansible **check-only** workflow. Its existing `tfroot-libvirt` recipients remain unchanged. **Unchanged:** no SOPS ciphertext, secret value, Cloudflare policy, WARP enrollment, repository workflow, public-key authorization, Hero host configuration, Node Exporter, firewall, GitOps desired state, or workflow dispatch is included. **Delivery stages:** authored and submitted; PR validation is pending. Merge and the main apply are separate explicit confirmation gates. Hero public-key authorization and check-workflow dispatch remain separate operations after a successful apply. **Known follow-up:** stale PR [#62](#62), superseded by merged WARP PRs #63 and #64, remains open and should be closed through a separately authorized cleanup action; it is not part of this change. **Rollback:** close or revert this PR before apply. After apply, remove the two mappings through a reviewed PR and environment-gated apply; rotate the SSH identity separately if revocation is required. ## Safety and secrets - [x] Contains no plaintext secrets, decrypted SOPS values, state files, kubeconfigs, tokens, or private endpoints. - [x] No local OpenTofu init/plan/apply/destroy/import/state operations were run or claimed — plans come from pull-request checks. - [x] Breaking or irreversible effects are described above with rollback notes. AI-assisted change: an OpenCode agent added only non-secret mappings after the owner confirmed the existing `tfroot-libvirt` SSH identity is the intended Hero identity.
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.
Summary
Carry forward the exact owner-authored, SOPS-encrypted Hero WARP enrollment entries from
chore/hero-host-config-warp-secret-sourcewithout reading, decrypting, or changing their ciphertext.This is split from conflicted PR #62 because current
mainrefactored the non-secret catalog frommain.tfintosecrets.tf. A follow-up PR will add the two non-secret distribution references after these encrypted fields are present onmain.Fixes #
None.
Type of change
Validation
opentofu / testandopentofu / planare the validation authority.No local OpenTofu init, plan, apply, import, state, or secret-decryption operation was run or claimed by the agent.
Impact and rollout
Producer: this PR changes only the canonical SOPS-encrypted source file in
tfroot-github.Consumer: none until a separate reviewed change adds the
secrets.tfmappings and a later environment-gated apply runs. It does not distribute a GitHub Actions secret, alter Cloudflare Access, enroll WARP, execute a workflow, or mutate Hero.Delivery stages: authored and submitted. Pull-request CI is automatic and pending. Merge remains confirmation-gated; a main apply is a separate confirmation-gated live mutation.
Rollback: close or revert this PR before any apply. The SOPS source remains encrypted throughout.
Safety and secrets
AI-assisted change: an OpenCode agent created this replacement pull request without retrieving or changing the encrypted source material.