Add meta field to lima.yaml for user annotations #4103
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This field will not be used by Lima itself; users can add whatever objects they want.
Possible uses are:
adding labels that can be used as selectors (see also Feature suggestion: labels for VMs and disks (and networks) #3240)
adding anything that would normally be just a comment, like a description or keywords
This makes it possible to query and manipulate the data with applications instead of being solely for human consumption (see also Third-party template discovery #4097 (comment)).
I first called the field
metadata
, but it just feels too long, especially since in filter expressions it becomes.config.metadata
.It is unfortunate that most of the interesting data for filtering in the
list
command is inside the.config
object, making all expressions longer and harder to read. The.name
and.status
properties are about the only things outside of.config
that I regularly use.