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

Design: templates should allow onyo pseudo keys and <labels> #721

Open
aqw opened this issue Nov 6, 2024 · 0 comments
Open

Design: templates should allow onyo pseudo keys and <labels> #721

aqw opened this issue Nov 6, 2024 · 0 comments
Labels
design Design decisions in need of discussion

Comments

@aqw
Copy link
Collaborator

aqw commented Nov 6, 2024

This came out of a conversation that Ben and I had, that built on some ideas that Tobias and I had been talking about awhile ago:

Templates and Assets are basically the same thing. It's just that some validation rules do not apply for templates:

  • pseudo keys are allowed
  • <labels> are allowed (or do we call them tags)?
  • keys and values in the asset-name do not need to be set
  • other asset-level validation are not applied

All assets can be used as template, but not all templates are an asset.

Another way of looking at this:

  • everything that can be passed to --keys can be used in a template (and thus also --yaml, etc)

See also:

@aqw aqw added the design Design decisions in need of discussion label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design decisions in need of discussion
Projects
None yet
Development

No branches or pull requests

1 participant