Connect GitHub account to deploy private git repository with ArgoCD
Using ArgoCD is very cool, one of the first walls you will hit as I did are how can you use your private repo inside ArgoCD whiteout to make your git repository public, I have searched a little bit about it, and here is one way I have found if you find a better way pls leave a comment for it, :)
- Create a unique SSH key for your Git project
- Add your public key to GitHub deploy keys
- Add a GitHub connection to your repo using the private key
It's 3 steps you need to do every time you set up a new app inside ArgoCD, I haven't for now not found a better way to do it and don’t know about there will be a better way to do this.
I will try to find a more effective way to use SSH keys for ArgoCD and write a new article for that when I have the bits of knowledge about it.
Create SSH-Key using as Git deploy key
First, we need to generate an SSH key, we are ending up with a private and public key we will use later.



















