chore: migrate SESSION_SECRET from plaintext secret.yaml to Sealed Secrets #230
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The ROADMAP.md notes that
secret.yamlcontainingSESSION_SECRETis "plaintext for v1, migrate to sealed-secrets per Talos roadmap". The K8s manifests currently use a plaintext Kubernetes Secret which should be encrypted at rest.What to do
apps/gitea-mobile/secret.yamlin the Talos repo (Depends on leeworks-agents/Talos)kubesealwith the cluster's Sealed Secrets controller public keysecret.yamlwithsealed-secret.yamlusingSealedSecretkindkustomization.yamlto referencesealed-secret.yamlinstead ofsecret.yamlsecret.yamlfrom git history or ensure it is gitignoredAcceptance Criteria
secret.yamlwith SESSION_SECRET value committed to the Talos repoSealedSecretmanifest present and referencing correct namespace/nameRoadmap Reference
Phase 3.3 — secret.yaml note: "migrate to sealed-secrets later"
Depends on leeworks-agents/Talos sealed-secrets setup.
Closing as done. Confirmed
sealed-secret.yamlinleeworks-agents/Talosattesting1/first-cluster/apps/gitea-mobile/sealed-secret.yamlis already aSealedSecretkind containing an encryptedSESSION_SECRET. Migration from plaintext to Sealed Secrets is complete.