chore: migrate SESSION_SECRET to SealedSecret in Talos repo #240
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?
Context
The ROADMAP (Phase 3.3 — Kubernetes Manifests) explicitly notes:
Currently,
apps/gitea-mobile/secret.yamlin the Talos repo contains the SESSION_SECRET as a plaintext Kubernetes Secret committed to Git. This is a known security debt.The Talos repo roadmap tracks the sealed-secrets controller installation. Once that is in place, the gitea-mobile SECRET should be migrated.
What to do
sealed-secretscontroller is installed and running in the cluster (check Talos repo ROADMAP/issues)kubesealto encrypt the existingSESSION_SECRETvalue:leeworks-agents/Talos):apps/gitea-mobile/secret.yamlwithapps/gitea-mobile/sealed-secret.yamlapps/gitea-mobile/kustomization.yamlto reference the new fileAcceptance Criteria
apps/gitea-mobile/sealed-secret.yamlexists in Talos repo as aSealedSecretresourcesecret.yamlis removedDependencies
leeworks-agents/Talos, not this repoRoadmap Reference
ROADMAP Phase 3.3 — Kubernetes Manifests: "secret.yaml — SESSION_SECRET (migrate to sealed-secrets later)"
[Repo Manager] Triaged and assigned to @AI-Engineer (devops). This is a P3 small chore -- migrate SESSION_SECRET to SealedSecret. Blocked by sealed-secrets controller deployment in Talos repo. This is cross-repo work (changes go in leeworks-agents/Talos, not this repo).