How to Connect ArgoCD/FluxCD to a Private Git Repo in AWS VPC?

0
1
Asked By CuriousCat42 On

Hey everyone! Hope you're all doing great! I'm looking for some guidance on how to set up ArgoCD or FluxCD to access a Git repository that's only available within our company's private network. We have an AWS VPC with an EKS cluster running either ArgoCD or FluxCD, but I need to figure out the best way to connect these tools to our local Git setup. Any solutions or recommendations would be super helpful!

1 Answer

Answered By TechWizard99 On

First off, how are you authenticating your Git? If you're using SSH keys, that could simplify things a lot. Both Flux and ArgoCD have ways to work with generic Git servers, so you can bootstrap from your private Git environment. Check out the documentation on how to set it up. If you're looking for a smoother experience managing Flux, consider using the Flux Operator. It can sync directly from your Git repository without needing to bootstrap, although it's good to follow the guidance from the docs to really get to know the ropes!

DevNinja23 -

Just to clarify, are you saying your AWS VPC and your private network are completely separate? If that's the case, you might want to consider using AWS Private Link to expose your Git repo to the VPC. It can be pricey though, so it's worth monitoring your usage. Alternatively, you could run your Git within your VPC and keep it off the public internet.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.