)]}'
{"etc/kolla-kubernetes/service_resources.yml":[{"author":{"_account_id":10419,"name":"Ryan Hallisey","email":"rhallise@redhat.com","username":"rhallisey"},"change_message_id":"2474bdff4d8814f5404033e5529f5876f705521e","unresolved":false,"context_lines":[{"line_number":101,"context_line":"      - name: glance-registry"},{"line_number":102,"context_line":"    resources:"},{"line_number":103,"context_line":"      disk:"},{"line_number":104,"context_line":"      - services/glance/glance-disk.sh.j2"},{"line_number":105,"context_line":"      pv:"},{"line_number":106,"context_line":"      - services/glance/glance-pv.yml.j2"},{"line_number":107,"context_line":"      pvc:"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"bacf61ea_d93d8d2c","line":104,"range":{"start_line":104,"start_character":8,"end_line":104,"end_character":41},"updated":"2016-08-04 18:55:18.000000000","message":"given my comment about the j2 mess in this file, this field could be a templated variable that the CLI plugs into.","commit_id":"b22a7310e69b7c9c0349d6d8b7461207f551040c"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"47bd6f5689a02db83df4fa10f324696277e81fba","unresolved":false,"context_lines":[{"line_number":132,"context_line":"    resources:"},{"line_number":133,"context_line":"      disk:"},{"line_number":134,"context_line":"      - name: glance-disk"},{"line_number":135,"context_line":"        template: services/glance/glance-disk.sh.j2"},{"line_number":136,"context_line":"        vars:"},{"line_number":137,"context_line":"          size_in_gb: 10"},{"line_number":138,"context_line":"      pv:"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"9ad45d7e_5bed7a8a","line":135,"updated":"2016-08-09 00:32:40.000000000","message":"Still a reference here.","commit_id":"4cbf0a055d84c09f8cf3445687942dd52d5096a7"}],"services/glance/glance-disk.sh.j2":[{"author":{"_account_id":10419,"name":"Ryan Hallisey","email":"rhallise@redhat.com","username":"rhallisey"},"change_message_id":"2474bdff4d8814f5404033e5529f5876f705521e","unresolved":false,"context_lines":[{"line_number":17,"context_line":"  {%- else %}"},{"line_number":18,"context_line":"    {{ raise(\u0027Unknown action\u0027) }}"},{"line_number":19,"context_line":"  {%- endif %}"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"{%- elif storage_provider \u003d\u003d \"gce\" %}"},{"line_number":22,"context_line":"  {%- set type \u003d \u0027pd-standard\u0027 %}"},{"line_number":23,"context_line":"  {%- if kolla_kubernetes.cli.args.action \u003d\u003d \"create\" %}"}],"source_content_type":"text/x-jinja2","patch_set":6,"id":"bacf61ea_b9fb797a","line":20,"updated":"2016-08-04 18:55:18.000000000","message":"man the jinja2 templating can be messy.  Since there\u0027s seems to be not much duplication between storage providers, what do you think about having a file for each storage provider and that file be dynamically added by the CLI?","commit_id":"b22a7310e69b7c9c0349d6d8b7461207f551040c"},{"author":{"_account_id":22143,"name":"David Wang","email":"dcwangmit01@gmail.com","username":"dcwangmit01"},"change_message_id":"fdea4cccefceaf17430d13dca832628b210af0f8","unresolved":false,"context_lines":[{"line_number":17,"context_line":"  {%- else %}"},{"line_number":18,"context_line":"    {{ raise(\u0027Unknown action\u0027) }}"},{"line_number":19,"context_line":"  {%- endif %}"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"{%- elif storage_provider \u003d\u003d \"gce\" %}"},{"line_number":22,"context_line":"  {%- set type \u003d \u0027pd-standard\u0027 %}"},{"line_number":23,"context_line":"  {%- if kolla_kubernetes.cli.args.action \u003d\u003d \"create\" %}"}],"source_content_type":"text/x-jinja2","patch_set":6,"id":"bacf61ea_3ff00991","line":20,"in_reply_to":"bacf61ea_b9fb797a","updated":"2016-08-04 19:43:58.000000000","message":"The jinja here looks overwhelming, but I do think it is nice to see everything in one place.  This logic is relatively simple, and having it here makes it easy to compare between providers.\n\nIf we did need to split up the file, I\u0027m sure we could add support for jinja \"include\".  I\u0027d rather wait until we really see a monstrosity.  Even if we split it up, the jinja will end up the same, just pushed around and put into different files as another level of indirection.\n\n-dave","commit_id":"b22a7310e69b7c9c0349d6d8b7461207f551040c"}]}
