https://github.com/ivanvc/mleh
Like helm but not just for YAMLs/Kubernetes
https://github.com/ivanvc/mleh
Last synced: over 1 year ago
JSON representation
Like helm but not just for YAMLs/Kubernetes
- Host: GitHub
- URL: https://github.com/ivanvc/mleh
- Owner: ivanvc
- License: mit
- Created: 2020-08-21T21:55:22.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-06T00:50:18.000Z (over 2 years ago)
- Last Synced: 2025-03-14T23:38:10.699Z (over 1 year ago)
- Language: Go
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Mleh
Like Helm but works for any kind of file, not just YAMLs.
## Usage
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.
## Template functions
As Helm, [Sprig](https://github.com/Masterminds/sprig) functions are available,
the documentation is hosted by
[Mastermind](https://masterminds.github.io/sprig/).
### Differences with Helm
Functions `toYaml`, `toJson`, `tpl`, are not implemented.