925 B
925 B
Runbook: SOPS secrets (git-encrypted)
Symptoms: sops -d fails; kubectl apply after Ansible shows no secret; noble.yml skips apply.
Checklist
- Private key:
age-key.txtat the repository root (gitignored). Create withage-keygen -o age-key.txtand add the public key to.sops.yaml(seeclusters/noble/secrets/README.md). - Environment:
export SOPS_AGE_KEY_FILE=/absolute/path/to/home-server/age-key.txtwhen editing or applying by hand. - Edit encrypted file:
sops clusters/noble/secrets/<name>.secret.yaml - Apply one file:
sops -d clusters/noble/secrets/<name>.secret.yaml | kubectl apply -f - - Ansible:
noble_apply_sops_secretsis true by default; the platform role applies all*.yamlwhenage-key.txtexists.
References: clusters/noble/secrets/README.md, Mozilla SOPS.