{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/fleet/issues/1143","labels_url":"https://api.github.com/repos/coreos/fleet/issues/1143/labels{/name}","comments_url":"https://api.github.com/repos/coreos/fleet/issues/1143/comments","events_url":"https://api.github.com/repos/coreos/fleet/issues/1143/events","html_url":"https://github.com/coreos/fleet/issues/1143","id":60229331,"number":1143,"title":"Operators in Metadata","user":{"login":"ForbiddenEra","id":7980490,"avatar_url":"https://avatars.githubusercontent.com/u/7980490?v=3","gravatar_id":"","url":"https://api.github.com/users/ForbiddenEra","html_url":"https://github.com/ForbiddenEra","followers_url":"https://api.github.com/users/ForbiddenEra/followers","following_url":"https://api.github.com/users/ForbiddenEra/following{/other_user}","gists_url":"https://api.github.com/users/ForbiddenEra/gists{/gist_id}","starred_url":"https://api.github.com/users/ForbiddenEra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ForbiddenEra/subscriptions","organizations_url":"https://api.github.com/users/ForbiddenEra/orgs","repos_url":"https://api.github.com/users/ForbiddenEra/repos","events_url":"https://api.github.com/users/ForbiddenEra/events{/privacy}","received_events_url":"https://api.github.com/users/ForbiddenEra/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/fleet/labels/kind/enhancement","name":"kind/enhancement","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-07T23:11:40Z","updated_at":"2015-09-25T09:07:34Z","closed_at":null,"body":"Would the authors consider allowing operators in metadata?\r\n\r\nie:\r\n\r\n```\r\n[X-fleet]\r\nMachineMetadata=ram>=2048\r\n```\r\n\r\nThis + way to update metadata easier = dynamic metadata, awesome? lame? opinions?\r\n\r\nthanks"},"comment":{"url":"https://api.github.com/repos/coreos/fleet/issues/comments/143165900","html_url":"https://github.com/coreos/fleet/issues/1143#issuecomment-143165900","issue_url":"https://api.github.com/repos/coreos/fleet/issues/1143","id":143165900,"user":{"login":"ianbytchek","id":1086845,"avatar_url":"https://avatars.githubusercontent.com/u/1086845?v=3","gravatar_id":"","url":"https://api.github.com/users/ianbytchek","html_url":"https://github.com/ianbytchek","followers_url":"https://api.github.com/users/ianbytchek/followers","following_url":"https://api.github.com/users/ianbytchek/following{/other_user}","gists_url":"https://api.github.com/users/ianbytchek/gists{/gist_id}","starred_url":"https://api.github.com/users/ianbytchek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianbytchek/subscriptions","organizations_url":"https://api.github.com/users/ianbytchek/orgs","repos_url":"https://api.github.com/users/ianbytchek/repos","events_url":"https://api.github.com/users/ianbytchek/events{/privacy}","received_events_url":"https://api.github.com/users/ianbytchek/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T09:07:34Z","updated_at":"2015-09-25T09:07:34Z","body":"That would be pretty awesome indeed. Is there a way of dealing with list values at all? For example, if I have several groups, like `app`, `lb`, `postgres` and `mongo`, where a host may be present in more than one group, then I'd like to have `group='app,lb,postgres'` metadata set on it. But the only way to describe this with fleet would be more like `group_app=true`, `group_lb=true`, `group_postgres=true`, right? \r\n\r\nWould you also consider supporting lists and `contains` or `in` operator? Or maybe even better (for consistency sake) support repeating keys in metadata, combine items with repeated keys into a list, and use same operators, e.g., `group==lb` would check if an item is present in the list, `group!=mongo` that it's not, etc."}}