-
Notifications
You must be signed in to change notification settings - Fork 566
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
how to dynamically generate values? | advanced exec usage #1006
Comments
@jurgenweber Hey! Just curious do you have a specific reason you want it to be in hooks? If not, you can try this to dynamically generate values:
|
OMG that is amazing. Should add it to the tips and tricks thread. :) |
using this; https://github.com/roboll/helmfile#importing-values-from-any-source
what env is in that exec? that git_branch is "" |
@mumoshu can you expand more on the pipeline example, please?
does I am trying to substitute a variable without success:
|
|
yeah, ok. I decided to just make a bash script in the end but ok, wondered if it was using golang exec. |
Can a hook return something that can then be used in
.Values
?so hook executes:
.Values.hookname.return
the other way is a bash wrapperI suppose.
or execute bash inside the template...
The text was updated successfully, but these errors were encountered: