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 →
- Put the ExternalSecret in wave
-1. - Rely on Argo CD's built-in health for
ExternalSecret(Healthy when theReadycondition is true), or add a Lua check if your version lacks it. - 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.
More on Tenancy, Security & Secrets
Ten teams share one Argo CD. How do you isolate them?IntermediateA developer could create an Application in their project that deploys a ClusterRoleBinding granting cluster-admin. How do you prevent privilege escalation?AdvancedCI needs to trigger a sync of one app after a deploy commit. How do you give it access?BeginnerAn auditor says the Sealed Secrets private key is a single point of failure and a single point of compromise. How do you respond?AdvancedYou need the same database password in 12 clusters. Which secrets approach do you choose and why?IntermediateYour team wants to use SOPS with Argo CD. What do you set up?Advanced