argocd-autopilot icon indicating copy to clipboard operation
argocd-autopilot copied to clipboard

Bootstrap repository using existing Argo CD installation

Open alexmt opened this issue 4 years ago • 6 comments

Summary

The autopilot is perfect for new Argo CD users but existing users would benefit from autopilot as well. It is proposed to add the ability to bootstrap the Git repository using an existing Argo CD installation to simplify the onboarding of existing Argo CD users.

Proposal

The existing repo bootstrap should be able to fetch apps from Kubernetes namespace that holds Argo CD installation and update Git repository accordingly.

For example, https://cd.apps.argoproj.io/ manages several apps defined in https://github.com/argoproj/argoproj-deployments. The argocd-autopilot repo bootstrap --repo https://github.com/argoproj/argoproj-deployments --initial-state-namespace=argocd --branch migration should generate a directory structure that holds apps manifests in migration branch.

The --initial-state-namespace flag indicates that command should use the initial stored in argocd namespace. The --branch flag is a branch name where configuration should be stored. This allows to create new directory structure in a different branch and simplify migration.

alexmt avatar Jul 11 '21 21:07 alexmt

Hey @alexmt, Thanks a lot for the proposal! That is very interesting in my opinion. @noam-codefresh @itai-codefresh WDYT?

roi-codefresh avatar Jul 12 '21 06:07 roi-codefresh

indeed a very good idea, we will try to prioritize as possible :)

itai-codefresh avatar Jul 12 '21 07:07 itai-codefresh

Great idea +1

todaywasawesome avatar Jul 12 '21 15:07 todaywasawesome

Any news here?

Jaykob avatar Sep 18 '23 13:09 Jaykob