Interview Prep/GitOps & Argo CD/Tenancy, Security & Secrets

A Sealed Secret works in staging but you need to move the namespace name for prod. What happens and what do you do?

BeginnerScenarioTenancy, Security & Secrets
Answer

Situation read → Strict scope binds ciphertext to name and namespace.

What I'd do →

  1. Reseal the secret for the prod namespace and name with the prod cluster's certificate.
  2. Store per-environment SealedSecrets in each environment folder.
  3. If many renames are expected, consider namespace-wide scope, accepting the reduced protection.

Why → Copying ciphertext to a different namespace fails with no key could decrypt secret.

Interview tip → Explain why strict scope is a security feature, not an inconvenience.

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

More on Tenancy, Security & Secrets