Add new YamlOutputType to generate a tree of charts #2160
Labels
@component/cdk8s-core
Issue related to cdk8s-core
effort/medium
1 week tops
feature-request
New/Enhanced functionality wanted
priority/p2
Dependent on community feedback. PR's are welcome :)
Description of the feature or enhancement:
Add a new
YamlOutputType
to generate the charts in a tree of folders for subcharts:Instead of the current
Use Case:
Currently, the only types of generations in yaml are:
The problem I have been experiencing is that when you have a big infrastructure with a lot of subcharts, the output is more difficult to read and review, since you have many folders in the same output folder.
Proposed Solution:
Had a case in app.ts to generate the folders using the dependency graph.
Other:
I think they are alternatives to this feature. For example, I suppose that you can use multiple Apps in your code, using an App of Apps patterns if you want to split the output. Did anyone ever use this pattern ? My main question on this is, would it work well to use multiple Apps in the same bit of code, and call
synth()
on all of them.This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: