Interview Prep/GitOps & Argo CD/Secrets, Controller Performance & Recovery

A Sealed Secret is not decrypted: the SealedSecret shows `no key could decrypt secret (password)`.

IntermediateTroubleshootingSecrets, Controller Performance & Recovery
Answer

Likely causes → It was sealed with another cluster's public key, sealed for a different namespace/name (strict scope), or the controller's sealing keys were lost when the cluster was rebuilt.

Diagnose →

kubectl -n kube-system get secret -l sealedsecrets.bitnami.com/sealed-secrets-key
kubectl -n web describe sealedsecret db-creds

Fix → Re-seal against the right cert (kubeseal --fetch-cert --controller-namespace kube-system > cert.pem) and the correct namespace; on a rebuilt cluster, restore the backed-up key secret and restart the controller.

Prevent → Back up sealing keys to a vault; this is part of cluster DR, not optional.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Secrets, Controller Performance & Recovery