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

feat: Ability to call arbitrary command from a template #244

Closed
mumoshu opened this issue Aug 28, 2018 · 1 comment
Closed

feat: Ability to call arbitrary command from a template #244

mumoshu opened this issue Aug 28, 2018 · 1 comment

Comments

@mumoshu
Copy link
Collaborator

mumoshu commented Aug 28, 2018

It would provide more flexibility to author your values.yaml files:

{{ exec "./myscript" | fromJson | toYaml }}

You can even exec an another template engine to dynamically generate your values.yaml. This way, our users won't need to wait until helmfile implements a bunch of template funcs to cover all the use-cases.

@mumoshu
Copy link
Collaborator Author

mumoshu commented Sep 3, 2018

And it should take arbitrary number of args like {{ exec "./myscript" "--flag1" "val1" }}

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