feat: migrate SESSION_SECRET from plaintext secret.yaml to SealedSecret #22
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?
Description
The Kubernetes manifests for gitea-mobile include a
secret.yamlthat storesSESSION_SECRETin plaintext. The ROADMAP.md explicitly flags this:Once the Talos repo has sealed-secrets controller deployed and the
kubesealworkflow established, this secret should be encrypted at rest in Git.What to Do
kubectl get pods -n kube-system | grep sealedSESSION_SECRET:secret.yamlwithsealed-secret.yamlin the Talos repo atapps/gitea-mobile/kustomization.yamlto referencesealed-secret.yamlinstead ofsecret.yamlsecret.yamlfrom Git history (or confirm it was never committed with a real value)Acceptance Criteria
sealed-secret.yamlcommitted to Talos repo atapps/gitea-mobile/secret.yamlremoved from the Talos repoSESSION_SECRETis not visible in any Git-tracked fileRoadmap ref: Phase 3.3 — Kubernetes Manifests (
secret.yamlsealed-secrets note)Depends on: Talos repo sealed-secrets controller deployment
Triage: P2 medium feature. Requires sealed-secrets controller to be running in the cluster and kubeseal access. This involves cross-repo work in the Talos repo. Assigning to AI-Engineer for investigation, but this may be blocked until sealed-secrets infrastructure is confirmed.
Status: Blocked.
The sealed-secrets controller is not currently running in the cluster (
kubectl get pods -A | grep sealedreturns no results). This is a prerequisite for generating SealedSecrets.This issue cannot proceed until the sealed-secrets controller is deployed in the Talos cluster. This is tracked in the Talos repo roadmap (Phase 3.3).
Will revisit once the sealed-secrets infrastructure is available.
Repo Manager Triage (2026-03-26)
Status: BLOCKED -- No change.
The sealed-secrets controller is still not deployed in the cluster. Confirmed via
kubectl get pods -A | grep seal-- no pods found. This is a hard prerequisite for this issue.Agent assignment: This is a cross-repo DevOps task (requires work in the Talos repo to deploy sealed-secrets, then generating a SealedSecret for gitea-mobile). Best handled by @devops once the sealed-secrets controller is available.
Current assignee: AI-Engineer (unchanged -- will delegate to @devops when unblocked).
Action required: The sealed-secrets controller must be deployed in the Talos cluster first. This is tracked in the Talos repo roadmap Phase 3.3. No agent work can proceed here until that prerequisite is met.
Triage: Already assigned to AI-Engineer. P2 medium -- requires sealed-secrets controller to be running in cluster. This depends on Talos repo infrastructure. Will evaluate cluster readiness before starting.
Manager Update: This issue has been triaged. Currently assigned to @AI-Engineer.
Priority: P2
Complexity: Medium
Recommended Agent: @devops
Summary: Requires migrating
SESSION_SECRETfrom plaintextsecret.yamlto a SealedSecret. This is a cross-repo task involving the Talos repo and requires the sealed-secrets controller to be running in the cluster. Depends on Talos repo sealed-secrets deployment.Status: Pending -- blocked on sealed-secrets controller availability in the cluster.
Manager Triage (2026-03-26)
Priority: P2
Complexity: Medium
Recommended Agent: @devops
Status: BLOCKED
Assessment: This issue requires migrating SESSION_SECRET to a SealedSecret. However, the sealed-secrets controller is NOT currently running in the cluster. The acceptance criteria require the sealed-secrets controller to be deployed first (this is a Talos repo infrastructure dependency).
Blocking dependency: sealed-secrets controller deployment in the Talos cluster.
Adding
blockedlabel. This issue also involves changes to the Talos repo (apps/gitea-mobile/), not just this repo. Once the sealed-secrets controller is available, this should be delegated to @devops.Action items:
Closing as resolved.
sealed-secret.yamlalready exists in the Talos repo attesting1/first-cluster/apps/gitea-mobile/sealed-secret.yamlwith an encryptedSESSION_SECRETusingbitnami.com/v1alpha1 SealedSecret. The plaintext secret has been replaced.