-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
as of now omitting --metadata option makes the reader fatal as it does need a filter to do its job.
This may be improved by following the operator's convention:
-
--metadata=*/*= I don't care what metadata they have, just pull everything- This puts responsibility on the adaptor, who is now in charge of filtering the resources on its own, as it will receive resources with potentially lots of metadata.
- An Info/Warn level log may be displayed to notify user about potentially retrieving lots of services this way
-
omitting
--metadata= same behavior as above -
--metadata=this,cnwan.io/that= I only want resources that have key "this" AND "cnwan.io/that"- service with
this=oneπ - service with
this=two;cnwan.io/that=threeπ
- service with
-
--metadata=cnwan.io/*= I only want resources that have key with prefix "cnwan.io", regardless of the key's name- service with
watch=enabledπ - service with
cnwan.io/watch=enabled;cnwan.io/traffic-profile=standardπ
- service with
-
--metadata=*/this= I only want resources that have key name "this", regardless of its prefix- service with
this=thatπ - service with
cnwan.io/this=whateverπ - service with
dunno.lol/this=yesπ
- service with
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request