Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgoCD fails initial refresh (resync) from private repos after clean install despite having secrets inplace #9859

Open
3 tasks done
spkane opened this issue Jul 1, 2022 · 0 comments
Labels
bug/priority:low Cosmetic bug or minor annoyance with no real impact on functionality. bug Something isn't working

Comments

@spkane
Copy link

spkane commented Jul 1, 2022

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've included the argocd server version.

Describe the bug

I am installing ArgoCD (v2.4.2 via chart v4.9.8) via Helm and Terraform into a brand new EKS cluster, that already has an "argocd" namespace created which contains a kubernets secret for a private Github repo.

An ArgoCD application using the App of Apps model is also installed.

ArgoCD fails to refresh the repo the first time, and then must wait for the app resync period to pass before trying again.

That first refresh should work, as going into the UI and simply forcing a refresh works just fine.

To Reproduce

  • create the argocd namespace
  • Apply a Github App secret for access to a private Github Repo into the namespace
  • Install ArgoCD via the helm chart
  • Immediately after helm completes, install an ArgoCD application that points at the private Github repo.
  • The application will be stuck in an unknown state, as the initial refresh fails.
  • Going to the UI and forcing a refresh will fix it, or waiting for the app resync period to pass.

Expected behavior

The very first app refresh should work

Screenshots

Version

v2.4.2

Logs

Paste any relevant application logs here.
@spkane spkane added the bug Something isn't working label Jul 1, 2022
@todaywasawesome todaywasawesome added the bug/priority:low Cosmetic bug or minor annoyance with no real impact on functionality. label Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/priority:low Cosmetic bug or minor annoyance with no real impact on functionality. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants