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

Using argocd-autopilot to deploy helm charts #604

Open
darnone opened this issue Oct 9, 2024 · 3 comments
Open

Using argocd-autopilot to deploy helm charts #604

darnone opened this issue Oct 9, 2024 · 3 comments

Comments

@darnone
Copy link

darnone commented Oct 9, 2024

Hello,

We are consumers of helm charts and we deploy some of them using terraform helm-release when the cluster is created - (cluster-scaler, etc), some are apps (nexus),and some are custom. We would like to change this approach to ArgoCD. and would like use argocd-autopilot to bootstrap argocd kick off deployment of the helm charts. However, everything from argocd-autopilot is kustomize based and uses applicationsets and I am not so familiar with either I am having difficulty determining how to use and organize argocd-autopilot to deploy an app-of-apps consisting of helm charts applications like where to put the app-of-app manifest and how to organize the helm charts. Would anyone have any suggestion or pointers on the best way to do this? Any reply is appreciated.

BTW, I came across issue 38 but nothing there worked for me.
Any reply is appreciated.

@todaywasawesome
Copy link
Contributor

@darnone I hope you figured it out since it's been a few months but you asked if you can do an app of apps with your helm charts. The answer is yes!

Here's how I do it:
I create a folder tree in my repo like this:

└── user
    ├── apps
    └── manifests

In my apps folder, I place application yaml's that point to their respective folders resources in the manifests folder. Then I use autopilot to add an app pointing at my apps folder.

You can see an example here: https://github.com/todaywasawesome/elite-cluster

@darnone
Copy link
Author

darnone commented Dec 3, 2024

Dan,

Thanks for your reply. No, we have not figured this out as we are still working on auto-pilot setup. Your solution looks complicated as there is not a whole lot of documentation or how to’s around autoipilot. What I was think was to modify the app set to point to an application in another repo that points to a directory containing helm charts defined as ArgoCD apps. Then there are multiple environments to consider. But I suppose, based upon your solution, this could all be done in the auto-pilot repo. I will have to consider that.

David

@todaywasawesome
Copy link
Contributor

@darnone Autopilot does two things

  1. Creates application sets so the repo can be bootstrapped from a single apply
  2. Provides a cli to bootstrap repositories and install applications

All I'm doing in the setup above is adding a single app to point to a folder I've created that has my app of apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants