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

Disable Data Value validations #623

Closed
Tracked by #561
pivotaljohn opened this issue Mar 10, 2022 · 0 comments
Closed
Tracked by #561

Disable Data Value validations #623

pivotaljohn opened this issue Mar 10, 2022 · 0 comments
Assignees

Comments

@pivotaljohn
Copy link
Contributor

pivotaljohn commented Mar 10, 2022

First Class Feature Flags

As the person consuming a ytt library
When I don't want validations on Data Values to run (e.g. a number of those validations are inappropriate for my situation; failing validations are preventing me from getting downstream information [like looking at --debug output]; I'm in the middle of modifying the library and want validations to get out of my way; ...)
I want to be able to turn off validations en masse

That is: implement the Disable Validations use case for Data Values...

  • on the command-line; and
  • while .eval()'ing a private library

Clarifying:

  • when --data-values-disable-validations=false (default), data values ARE validated for the root library and each evaluated library,
    • except for libraries evaluated with library.eval(data_values_disable_validations=True), in which case, data values are NOT validated for that library AND any libraries it evaluates.
  • when --data-values-disable-validations=true, data values are NOT validated for any library, regardless.

Experiments

As an early adopter
When Carvel releases pre-beta versions of features
I want to be able to opt into using those features, even though I know the APIs are unstable and/or there might be bugs.
So that I can try out those features and be able to give feedback about the UX.

For the first "experiment" allow users to enable ytt Validations.

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

No branches or pull requests

1 participant