Toml 2 ConfigMap is a tool that help us to migrate Toml files to Kubernetes ConfigMaps in a Helm template way.
This tools was created with the goal of migrating toml
configurations to
ConfigMaps in an easy way and removing the toil.
It has some flags (currently one), where we can specify the file to the path
that we would like to convert.
It reads the toml
file and parse it line by line, generating a new one with
a ConfigMap format.
- Go: Install go
go run *.go --file=<fileName>
// Example
go run *.go --file=example.toml
- Add ConfigMap header
- Read all files inside a folder
- Add tests 👀
- Show help menu if there's no input
Jose Ramon Mañes