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

Native support for jsonnet input files #814

Open
ghost opened this issue Aug 20, 2019 · 1 comment
Open

Native support for jsonnet input files #814

ghost opened this issue Aug 20, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 20, 2019

Similar to how DroneCI supports jsonnet: https://docs.drone.io/extend/config/jsonnet/

@mumoshu
Copy link
Collaborator

mumoshu commented Aug 20, 2019

Yeah, I DO want this as I believe Jsonnet is much better than go templates for declaring complex setups.

Jsonnet code can be a little harder to debug/review/audit/etc so I'm thinking that it would play nicely with helmfile build -f helmfile.jsonnet that will produce a "rendered" helmfile.yaml from Jsonnet (#780 )

Happy to review any contribution related to this feature.

Implementation-wise, the only thing I'm unsure is that how to add custom functions to Jsonnet, like requiredEnv, exec, and helmfile values that is missing in the Jsonnet stdlib.

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

No branches or pull requests

1 participant