Generating helm charts (values.yaml) automatically from Kong configuration
mitar opened this issue · comments
I got an idea and I am not sure if this is something to add to Kong itself, or can be done through a plugin, or as a 3rd party app.
But when packaging programs I make (which use Kong) for production, I create Helm Charts for them. One thing I do is also values.yaml
file with all possible configurations, with comments (matching those in CLI descriptions), and default values (or zero value). Then users of the chart can easily see various options available.
Now, currently I have been making those files manually. But I realized it would be cool if I could just export Kong's CLI configuration to such a file. It should probably be very similar to Kong's configuration file.
If this would be a 3rd party app, is there an easy way to obtain Kong's CLI configuration after Kong's processed CLI config (but without parsing the arguments themselves)?