Interview Prep/Helm/Hooks, Tests, GitOps & Secrets

Argo CD shows the app `OutOfSync` forever because a Secret's data changes every refresh.

IntermediateTroubleshootingHooks, Tests, GitOps & Secrets
Answer

Likely causes → The chart generates the secret with randAlphaNum (or genCA) and relies on lookup to keep it, which does not work in Argo CD.

Diagnose → argocd app diff shop-prod shows only that Secret's data changing.

Fix → Create the Secret outside the chart and use existingSecret; temporarily ignoreDifferences on /data for that Secret.

Prevent → Deterministic charts for GitOps.

All Helm questions Roadmap: Helm

More on Hooks, Tests, GitOps & Secrets