Argo CD shows a Helm app permanently OutOfSync even right after a sync. What do you look for?
IntermediateScenarioOCI, CI/CD & GitOps
Answer
Situation read → Something renders differently every time, or a controller mutates fields.
What I'd do →
argocd app diff shop-prodto see the fields.- Random or time-based template functions (
randAlphaNum,genCA,now) orlookupreturning empty; fix the chart to be deterministic or move secrets out. - Fields mutated by controllers (HPA replicas, webhook-injected values, defaulted fields); add
ignoreDifferences. - Consider
ServerSideApply=truesync option.
Why → GitOps needs deterministic rendering.
Interview tip → Name the random functions explicitly.
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?AdvancedHow do you promote a chart version from staging to prod in a GitOps setup?Intermediate