Are you tired of writing values.yaml
for configmap
of your project when you are helmifying them? Helmfig is a handy
tool that can generate the content of your configmap
object and its parameters for values.yaml
based on a config
example file.
Currently, we just support YAML config structure, but we will support JSON and ENV in the future.
- Install a golang compiler (at least version 1.16).
- Clone the project and compile it:
git clone https://github.com/snapp-incubator/helmfig.git
cd helmfig
go build .
- Put your
config.example.yml
near the compiled binary and run it via:
./helmfig
- If everything is OK, two files will be generated:
configmap.yaml
andvalues.yaml
. You can use them in helm chart of your desired application
Apache-2.0 License, see LICENSE.