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

Enable more flexible grouping of apps and projects

Open renaudguerin opened this issue 3 years ago • 2 comments

Hi,

I'm following up to this discussion on Slack.

I have a use case which is not currently well served by Autopilot : bundling apps into Projects both by intended audience ("system" apps such as cluster operators for SRE, vs "user" apps for developers, possibly with different permissions) and by "environment" (dev/prod) at the same time.

@roi-codefresh has confirmed to me that Autopilot Projects were clearly designed with "environments" in mind (hence the generated Kustomize overlays) and not to group apps by purpose.

One workaround is to create projects for all combinations of "type of app"x"environment", another is to create "cluster" apps under bootstrap/cluster-resources, but both have significant drawbacks.

I wonder if the new Matrix generator in the upcoming ApplicationSet release could be a helpful building block to solve this use case within Autopilot ? This example looks promising.

renaudguerin avatar Jul 29 '21 17:07 renaudguerin

Hi, any thoughts on this ?

renaudguerin avatar Nov 03 '21 21:11 renaudguerin

Hey @renaudguerin WDYT about closing this one and moving the discussion about the structural changes in #65, since it's more active and essentially discusses the same issue with the current directory structure?

roi-codefresh avatar Nov 04 '21 10:11 roi-codefresh