6304ebbbf86232e397a73dda12eba4d4719e954d
[dcaegen2/platform.git] / mod2 / helm-generator / README.md
1 ## Instructions for running helm chart generator
2 version: 1.0.0-SNAPSHOT
3
4 1. Must have helm installed.
5
6 2. Run `mvn clean package` to build and package the code.
7
8 3. Run main class `HelmChartGeneratorApplication` with parameters added to configuration properties, set in the following order:
9     1. Spec file location
10     2. Chart directory location
11     3. Output directory location
12     4. Component spec schema (Optional)
13     5. --distribute flag (Optional)
14     6. --help (to see usage)
15
16     Arguments expected as: `<somePath/spec.json>  <somePath/chartDirectory> <somePath/outputDirectory> <somepath/specSchema.json> --distribute`
17
18     Test files currently included in project:
19         - Spec file: `helm-chart-generator\src\test\input\specs\ves.json`
20         - Charts Directory: `helm-chart-generator\src\test\input\blueprint`