Like Helm but works for any kind of file, not just YAMLs.
Similar to Helm, with the following directory structure:
chart
├── values.yaml
├── templates
│ ├── app.tf
│ └── _helpers.txt
└── values.yaml
You can run:
mleh -values values.yaml -output-dir . chart/
And it will generate, in this case an app.tf file, while skipping files that start with an underscore.
As Helm, Sprig functions are available, the documentation is hosted by Mastermind.
Functions toYaml
, toJson
, tpl
, are not implemented.