{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/nulecule/issues/181","labels_url":"https://api.github.com/repos/projectatomic/nulecule/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/nulecule/issues/181/comments","events_url":"https://api.github.com/repos/projectatomic/nulecule/issues/181/events","html_url":"https://github.com/projectatomic/nulecule/issues/181","id":114277914,"number":181,"title":"Array rather than Object for persistentVolume","user":{"login":"kanarip","id":1710355,"avatar_url":"https://avatars.githubusercontent.com/u/1710355?v=3","gravatar_id":"","url":"https://api.github.com/users/kanarip","html_url":"https://github.com/kanarip","followers_url":"https://api.github.com/users/kanarip/followers","following_url":"https://api.github.com/users/kanarip/following{/other_user}","gists_url":"https://api.github.com/users/kanarip/gists{/gist_id}","starred_url":"https://api.github.com/users/kanarip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanarip/subscriptions","organizations_url":"https://api.github.com/users/kanarip/orgs","repos_url":"https://api.github.com/users/kanarip/repos","events_url":"https://api.github.com/users/kanarip/events{/privacy}","received_events_url":"https://api.github.com/users/kanarip/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/projectatomic/nulecule/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-10-30T14:14:07Z","updated_at":"2015-11-30T21:10:55Z","closed_at":null,"body":"In the example for Storage Requirement Objects, the persistentVolume entries seems to be an object, but may need to be or become an array -- so multiple persistentVolumes could be specified:\r\n\r\nhttps://github.com/projectatomic/nulecule/tree/master/spec#storage-requirement-example\r\n\r\n```yaml\r\n---\r\n- persistentVolume:\r\n    - name: \"var-lib-mongodb-data\"\r\n      accessMode: \"ReadWrite\"\r\n      size: 4 # GB by default\r\n    - name: \"var-log-mongodb\"\r\n      accessMode: \"ReadWrite\"\r\n      size: 4 # GB by default\r\n```\r\n```js\r\n  {\r\n    \"persistentVolume\": [\r\n      {\r\n        \"name\": \"var-lib-mongodb-data\",\r\n        \"accessMode\": \"ReadWrite\",\r\n        \"size\": 4\r\n      },\r\n      {\r\n        \"name\": \"var-log-mongodb\",\r\n        \"accessMode\": \"ReadWrite\",\r\n        \"size\": 4\r\n      }\r\n    ]\r\n  }\r\n```"},"comment":{"url":"https://api.github.com/repos/projectatomic/nulecule/issues/comments/160762632","html_url":"https://github.com/projectatomic/nulecule/issues/181#issuecomment-160762632","issue_url":"https://api.github.com/repos/projectatomic/nulecule/issues/181","id":160762632,"user":{"login":"cdrage","id":6422176,"avatar_url":"https://avatars.githubusercontent.com/u/6422176?v=3","gravatar_id":"","url":"https://api.github.com/users/cdrage","html_url":"https://github.com/cdrage","followers_url":"https://api.github.com/users/cdrage/followers","following_url":"https://api.github.com/users/cdrage/following{/other_user}","gists_url":"https://api.github.com/users/cdrage/gists{/gist_id}","starred_url":"https://api.github.com/users/cdrage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdrage/subscriptions","organizations_url":"https://api.github.com/users/cdrage/orgs","repos_url":"https://api.github.com/users/cdrage/repos","events_url":"https://api.github.com/users/cdrage/events{/privacy}","received_events_url":"https://api.github.com/users/cdrage/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T21:10:55Z","updated_at":"2015-11-30T21:10:55Z","body":"Continued in #193 :) let's keep the discussion there in relation to type and array stuff here. But I agree that we should have arrayed volumes in our spec."}}