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

You need secrets to be available before a Deployment starts, but ESO takes a few seconds to create them. How do you order it?

IntermediateScenarioTenancy, Security & Secrets
Answer

Situation read → The ExternalSecret exists but the Secret does not yet.

What I'd do →

  1. Put the ExternalSecret in wave -1.
  2. Rely on Argo CD's built-in health for ExternalSecret (Healthy when the Ready condition is true), or add a Lua check if your version lacks it.
  3. The Deployment in wave 0 starts only after the Secret is created.

Why → Health-gated waves turn "eventually created" into "created before use".

Interview tip → Note the pod would otherwise sit in CreateContainerConfigError until the Secret appears.

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

More on Tenancy, Security & Secrets