Interview Prep/Helm/OCI, CI/CD & GitOps

Argo CD fails to render your chart that uses `lookup` to keep a generated password. What do you do?

AdvancedScenarioOCI, CI/CD & GitOps
Answer

Situation read → Argo CD renders without cluster access, so lookup returns empty and a new password is generated each time, causing drift (and potential outages).

What I'd do →

  1. Remove secret generation from the chart; create the Secret externally (ExternalSecret, SealedSecret, or a one-time bootstrap).
  2. Use the chart's existingSecret value to reference it.
  3. If needed, add ignoreDifferences on that Secret's data while migrating.

Why → GitOps charts must be deterministic.

Interview tip → "lookup doesn't work in Argo CD" is a must-know fact.

All Helm questions Roadmap: Helm

More on OCI, CI/CD & GitOps