Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating helm charts (values.yaml) automatically from Kong configuration #304

Open
mitar opened this issue May 10, 2022 · 0 comments
Open

Comments

@mitar
Copy link
Contributor

mitar commented May 10, 2022

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)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant