Skip to content

A handy utility to generate configmap and values.yaml of your application for helmifying them

License

Notifications You must be signed in to change notification settings

snapp-incubator/helmfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helmfig

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.

How to use it?

Build from source

  1. Install a golang compiler (at least version 1.16).
  2. Clone the project and compile it:
git clone https://github.com/snapp-incubator/helmfig.git
cd helmfig
go build .
  1. Put your config.example.yml near the compiled binary and run it via:
./helmfig
  1. If everything is OK, two files will be generated: configmap.yaml and values.yaml. You can use them in helm chart of your desired application

License

Apache-2.0 License, see LICENSE.