Skip to content

chore(secrets): initialize SOPS vault with terraform.tfvars#18

Merged
jdwillmsen merged 1 commit into
mainfrom
chore/init-secrets-vault
Jun 16, 2026
Merged

chore(secrets): initialize SOPS vault with terraform.tfvars#18
jdwillmsen merged 1 commit into
mainfrom
chore/init-secrets-vault

Conversation

@jdwillmsen

Copy link
Copy Markdown
Member

Initializes the talops secrets SOPS+age vault (the credential mechanism already in the codebase) and seals the real terraform.tfvars into it.

Changes

  • .sops.yaml — adds this device's age recipient (age1xqpap4…)
  • terraform/terraform.tfvars.enc.yaml — SOPS+age-encrypted tfvars (Proxmox creds + cluster topology). Verified ciphertext (no plaintext secrets).

Values

Derived from the live cluster (machineconfig, pvesh get /cluster/resources, haproxy.cfg): Proxmox connection + API token, cluster endpoint/HAProxy IP, real Factory installer image, k8s/talos versions, pve1–4 map, all 7 node specs (vmid/host/cpu/mem/disk), ingress nodeports, HAProxy stats creds.

Follow-ups (not in this PR)

  • Seal the real Talos secrets bundle (secrets.yaml/talosconfig) from the ops env — the local copies were talops-generated and excluded.
  • Rotate the Proxmox API token (JDWLABS-62) — it leaked in scenarios/scaling_tests/*.tfvars; after rotating, talops secrets edit tfvars to update + reseal.

🤖 Generated with Claude Code

Add .sops.yaml with this device's age recipient and seal the real
terraform.tfvars (Proxmox creds + cluster topology) into the encrypted
vault. Talos secrets bundle/talosconfig still to be sealed from the ops
env where the real cluster PKI lives.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Assisted-by: Claude:Opus-4.8 [claude-code]
@jdwillmsen jdwillmsen merged commit e7869b9 into main Jun 16, 2026
1 check passed
@jdwillmsen jdwillmsen deleted the chore/init-secrets-vault branch June 16, 2026 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant