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 →
- Remove secret generation from the chart; create the Secret externally (ExternalSecret, SealedSecret, or a one-time bootstrap).
- Use the chart's
existingSecretvalue to reference it. - If needed, add
ignoreDifferenceson 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.
More on OCI, CI/CD & GitOps
Design the CI pipeline for an internal Helm chart.IntermediateYour org is moving charts from ChartMuseum to an OCI registry. What changes for consumers?IntermediateA chart version was overwritten in the registry and two clusters now run different content for "1.4.0". How do you prevent it?AdvancedHow would you give GitHub Actions push access to ECR for charts without long-lived keys?IntermediateYou are adopting Argo CD for apps currently deployed with `helm upgrade` from CI. How do you migrate?AdvancedArgo CD shows a Helm app permanently OutOfSync even right after a sync. What do you look for?Intermediate