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

[overlay] less verbose way to annotate that it's ok for overlay to create-or-update #1

Closed
cppforlife opened this issue Mar 4, 2019 · 3 comments
Labels
enhancement This issue is a feature request

Comments

@cppforlife
Copy link
Contributor

cppforlife commented Mar 4, 2019

in example-overlay-files, ops2.yml adds multiple map items (under annotations key) [1]. it has to specify missing_ok=True for per key because to indicate that it's ok to create-or-update. need to come up with a way to allow skipping such annotation as it's pretty verbose.

few options:

  • somehow annotate multiple nodes together
  • annotate that children of a particular node are ok with missing_ok=True (probably an easier and better option)

[1] https://github.com/vmware-tanzu/carvel-ytt/blob/develop/examples/playground/basics/example-overlay-files/ops2.yml#L7-L10

@cppforlife cppforlife changed the title less verbose way to annotate that it's ok for overlay to create-or-update. less verbose way to annotate that it's ok for overlay to create-or-update Mar 4, 2019
@cppforlife cppforlife added the enhancement This issue is a feature request label Mar 4, 2019
@cppforlife cppforlife changed the title less verbose way to annotate that it's ok for overlay to create-or-update [overlay] less verbose way to annotate that it's ok for overlay to create-or-update May 3, 2019
@cppforlife
Copy link
Contributor Author

added @overlay/match-child-defaults annotation in f3443fd. will be available in v0.20.0.

example: https://gist.github.com/cppforlife/9a63a5ce714e2f72f5ded8c070efef4e

@cppforlife cppforlife added the in progress Work has begun by a community member or a maintainer; this issue may be included in a future release label Aug 28, 2019
@cppforlife
Copy link
Contributor Author

@cppforlife
Copy link
Contributor Author

related: #53

@github-actions github-actions bot added the carvel triage This issue has not yet been triaged for relevance label Jun 15, 2021
@pivotaljohn pivotaljohn removed carvel triage This issue has not yet been triaged for relevance in progress Work has begun by a community member or a maintainer; this issue may be included in a future release labels Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue is a feature request
Projects
None yet
Development

No branches or pull requests

2 participants