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

Interest for import toml ? #734

Open
davidovich opened this issue Nov 2, 2023 · 1 comment
Open

Interest for import toml ? #734

davidovich opened this issue Nov 2, 2023 · 1 comment

Comments

@davidovich
Copy link

At work we use mainly jsonnet to describe Kubernetes manifests, and a large swath of code also uses Toml configuration (notably influxdb and telegraf config).

Interoperability with jsonnet is currently hindered if we don't have a complete read, modify write (which we already have in the std.manifestTomlEx function) cycle from within jsonnet.

We would like to import TOML in much same way as we enjoy importing YAML through the std.parseYaml() API.

Would there be interest in an implementation of an std.parseToml() API ?

@micahnz
Copy link

micahnz commented Jul 4, 2024

This is something I would use, I currently use parseYaml to make the commonly changeable params for our kube manifests more readable and friendly for the members of our team but I would much rather use toml for these files.

std.parseToml() would fit nicely, like you say, we can already have manifestTomlEx so would be nice to close that loop so we can work with toml properly.

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

2 participants