Image Updater with Git write-back fails with `failed to push: authentication required` or `protected branch hook declined`.
IntermediateTroubleshootingApplicationSets, Rollouts & Image Updater
Answer
Likely causes → It reuses the repo credentials Argo CD uses for reading, which are read-only deploy keys; or the target branch is protected against direct pushes.
Diagnose → Image Updater logs show the push error and the branch.
Fix → Provide a write credential (git:secret:argocd/git-write-creds) and either allow the bot to bypass protection on that branch or write to a separate branch (write-back-branch: image-updates) that a CI job merges via PR.
Prevent → Separate read and write credentials; keep a branch protection rule that allows only the bot's identity.
More on ApplicationSets, Rollouts & Image Updater
The ApplicationSet status shows `ApplicationSet argocd/team-apps contains applications with duplicate name: web`.Beginner`ApplicationGenerationFromParamsError: failed to execute go template ...: map has no entry for key "cluster"`.IntermediateA git outage made the git generator return nothing, and the ApplicationSet deleted all its Applications and their workloads.AdvancedManual edits to an Application owned by an ApplicationSet (for example a changed `targetRevision`) keep getting reverted.BeginnerA newly registered cluster gets no Applications from a cluster-generator ApplicationSet.IntermediateThe SCM provider generator stops discovering repos, with `GET https://api.github.com/orgs/org/repos: 403 API rate limit exceeded`.Intermediate