chore: migrate gitea-mobile SESSION_SECRET to SealedSecret for secure GitOps storage #80
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.md (Phase 3.3) notes that
secret.yamlstoresSESSION_SECRETas plaintext: "migrate to sealed-secrets later". The Risks section also calls this out: "Plaintext for v1, migrate to sealed-secrets per Talos roadmap."Plaintext secrets in Git are a security risk and inconsistent with the cluster-wide sealed-secrets pattern.
Roadmap Reference
Phase 3.3 — Kubernetes Manifests, ROADMAP.md (secret.yaml note).
What to Do
testing1/first-cluster/apps/gitea-mobile/, locatesecret.yamlkubesealwith the cluster public key:secret.yamlwithsealedsecret.yamlinapps/gitea-mobile/kustomization.yamlto referencesealedsecret.yamlinstead ofsecret.yamldeployment.yamlstill references the same secret nameleeworks-agents/TalosAcceptance Criteria
secret.yamlis removed from the Talos repo; replaced withsealedsecret.yamlkubectl get secret gitea-mobile-secret -n gitea-mobileshows the expected keykustomize buildvalidates without errorsCross-repo
Changes land in
leeworks-agents/Talos(apps/gitea-mobile/).Depends on leeworks-agents/gitea-mobile#16 (deployment verified first).
Resolution (Repo Manager - 2026-03-27)
This issue is already resolved. Verified the following acceptance criteria:
secret.yamldoes not exist intesting1/first-cluster/apps/gitea-mobile/-- confirmed removedsealed-secret.yamlexists with encryptedSESSION_SECRET(SealedSecret kind:bitnami.com/v1alpha1)kustomization.yamlreferencessealed-secret.yaml(notsecret.yaml)deployment.yamlreferences the same secret namegitea-mobile-secretviasecretKeyRefClosing as completed.