Open alexmt opened 3 years ago
Hey @alexmt, Thanks a lot for the proposal! That is very interesting in my opinion. @noam-codefresh @itai-codefresh WDYT?
indeed a very good idea, we will try to prioritize as possible :)
Great idea +1
Any news here?
Any progress on this, guys? Really fine idea.
I think it would be quite complicated to do that. You would need to support the installation method and generate the values or kustomizations etc.
PRs are open though 😁
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 inmigration
branch.The
--initial-state-namespace
flag indicates that command should use the initial stored inargocd
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.