You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my homelab, I've encoutered ocassional removal of argocd managed applications after upgrading to argocd 2.11. Upon further investigation, this always happens when my git server becomes temporarily unavailable.
I'm using https://github.com/argoproj-labs/argocd-autopilot to manage my homelab. In that setup, argocd-autopilot sets up a repository that defines an ApplicationSet that comes with two git generators:
In the scenario that happens quite regulariliy, this isn't the case when argocd is unable to contact the the git repository for one, but not both git generators.
In my homelab, I've encoutered ocassional removal of argocd managed applications after upgrading to argocd 2.11. Upon further investigation, this always happens when my git server becomes temporarily unavailable.
I'm using https://github.com/argoproj-labs/argocd-autopilot to manage my homelab. In that setup, argocd-autopilot sets up a repository that defines an
ApplicationSet
that comes with twogit
generators:After inspecting the code around https://github.com/similark/argo-cd/blob/997f5c7da304efa209a32668d768966d75ee8c2e/applicationset/controllers/applicationset_controller.go#L128-L141 a
git blame
brought me to #17062 which I believe is causing this regression. Basically, the thinking in that PR is "if the number of generated projects is more than one, then it is save to take the resulting list as good.In the scenario that happens quite regulariliy, this isn't the case when argocd is unable to contact the the git repository for one, but not both git generators.
Version
Logs
The text was updated successfully, but these errors were encountered: