-
Notifications
You must be signed in to change notification settings - Fork 134
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
[data/values] support reading values from environment variables or passed-in flags #2
Comments
per our previous discussions, potential UX may look like this:
|
as a side note, i was thinking one can "override" default values by specifying it in a dedicated overlay file, which brings an interesting question of how strict should |
I feel like the behavior should be |
only concern i have here is catching typos. that's why overlay functionality is conservative until it's marked as ok to be missing. |
I want this feature ;-) |
@emayssat thanks for bumping this up. ill think more about what this feature should look like this week. |
@emayssat @afcastano ive added b076047 as a first cut for this feature. try it out. examples:
values are yaml encoded. above keys should be specified in configuration data values, otherwise overlaying will fail, eg
|
@emayssat @afcastano let me know if this works out for yall. have a good weekend. |
included in v0.8.0 |
the
ytt
user may wish to provide data values in the form of environment variables or by passing values through the command line. this is particularly beneficial when providing secrets.As a user of
ytt
I expect it to provide me with either of the options above to provide or override values.The text was updated successfully, but these errors were encountered: