Interview Prep/GitOps & Argo CD/ApplicationSets, Rollouts & Image Updater

Argo CD Image Updater logs `could not get tags from registry: denied: requested access to the resource is denied` for a private ECR or GHCR image.

IntermediateTroubleshootingApplicationSets, Rollouts & Image Updater
Answer

Likely causes → No registry credentials configured for that image, or the credentials (ECR tokens expire every 12 hours) went stale.

Diagnose → kubectl -n argocd logs deploy/argocd-image-updater | grep denied.

Fix → Configure pullsecret:namespace/secret for the image or registry in registries.conf, and for ECR use an ext: credential script or an ECR token refresher that updates the secret before expiry.

Prevent → Alert on Image Updater errors; a silent updater means images silently stop rolling.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on ApplicationSets, Rollouts & Image Updater