-
Notifications
You must be signed in to change notification settings - Fork 136
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
Accept Data Values as a plain YAML file #381
Comments
@cppforlife please review the connected stories for acceptance criteria around documentation. |
Hey y'all, I'm trying to track what came in with the latest release and I'm having trouble following how #398 implements this proposal, while there are still the 6 unclosed referenced in the description for this issue. Some clarification would be greatly appreciated! |
The feature is implemented and included as a "pre-release" in v0.34.0. However, these stories have unmet acceptance criteria around updating documentation. Once that work is done, we can consider the feature released. We didn't make that clear in the release notes. Sorry for the ambiguity. The In the meantime, this feature is, in fact, ready for use. |
Gotcha - thanks for the wonderful explanation, as always 😁 👋🏽 |
Hi @pivotaljohn does it mean |
Hey @jessehu. It might help to think of this less as "the new way" and more as "another way" at this point.
With this context, there will be no breaking change. Just another option. That said, the hope is to make this more straightforward approach the default choice. But there's work to do to get there: https://github.com/vmware-tanzu/carvel-community/tree/develop/proposals/ytt/002-raw-data-values#consideration-implies-a-significant-effort-to-implement Does that address your concern? |
Per ytt-002 Data Values as Plain YAML proposal.
This feature serves two primary classes of users:
As an Integrator
I want to be able to present my users with a simple YAML-based configuration interface, devoid of any
ytt
adornments (e.g. annotations, Starlark code, etC)So that my users need not know I've integrated with
ytt
nor learn any of its syntaxAnd I don't have to do anything special to make that integration "just work" (e.g. prepending a file with
@data/values
or scan/filter for code when I don't want to provide the option for it, etc)As a Configuration Consumer
I want to pick up and use someone's
ytt
library, including providing my own configuration values (apparently called "Data Values") in a simple YAML formatSo that I don't have to learn
ytt
syntax or learn advancedytt
featuresIn short:
Add a flag to
ytt
—--data-values-file
that accepts only plain YAML (i.e. with noytt
directives).Stories:
The text was updated successfully, but these errors were encountered: