)]}'
{"charts/maas/templates/ingress-region.yaml":[{"author":{"_account_id":26449,"name":"Scott Hussey","email":"sthussey@att.com","username":"sh8121"},"change_message_id":"aa56f3abd2fb4243fdcbaf56350eeab81b40f13e","unresolved":false,"context_lines":[{"line_number":28,"context_line":"      http:"},{"line_number":29,"context_line":"        paths:"},{"line_number":30,"context_line":"{{- if .Values.conf.maas.ingress_disable_gui }}"},{"line_number":31,"context_line":"          - path: /MAAS/api"},{"line_number":32,"context_line":"          - path: /MAAS/rpc"},{"line_number":33,"context_line":"          - path: /MAAS/metadata"},{"line_number":34,"context_line":"          - path: /MAAS/images-stream"},{"line_number":35,"context_line":"{{- else }}"},{"line_number":36,"context_line":"          - path: /"},{"line_number":37,"context_line":"{{- end }}"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5fc1f717_73d3ca60","line":34,"range":{"start_line":31,"start_character":0,"end_line":34,"end_character":37},"updated":"2019-04-03 15:13:57.000000000","message":"I think you\u0027ll need the following form:\n\n  paths:\n    - path: /MAAS/api\n      backend:\n        serviceName: {{ tuple ...\n        servicePort: region-api\n    - path: /MAAS/rpc\n      backend:\n        serviceName: {{ tuple ...\n        servicePOrt: region-api\n    ...\n\nconversely you can use gotpl to create a list of paths and then range across them to build the list in the resource document.","commit_id":"eee98dbdf4789811ad557cd817979315b11d4bd4"},{"author":{"_account_id":22604,"name":"Samuel Pilla","email":"sp516w@att.com","username":"samuel.pilla"},"change_message_id":"4fabde90e0e67462b779c02321872a4e32ef6869","unresolved":false,"context_lines":[{"line_number":28,"context_line":"      http:"},{"line_number":29,"context_line":"        paths:"},{"line_number":30,"context_line":"{{- if .Values.conf.maas.ingress_disable_gui }}"},{"line_number":31,"context_line":"          - path: /MAAS/api"},{"line_number":32,"context_line":"          - path: /MAAS/rpc"},{"line_number":33,"context_line":"          - path: /MAAS/metadata"},{"line_number":34,"context_line":"          - path: /MAAS/images-stream"},{"line_number":35,"context_line":"{{- else }}"},{"line_number":36,"context_line":"          - path: /"},{"line_number":37,"context_line":"{{- end }}"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5fc1f717_5c4a5b83","line":34,"range":{"start_line":31,"start_character":0,"end_line":34,"end_character":37},"in_reply_to":"5fc1f717_73d3ca60","updated":"2019-04-03 17:58:43.000000000","message":"Done","commit_id":"eee98dbdf4789811ad557cd817979315b11d4bd4"},{"author":{"_account_id":28618,"name":"Drew Walters","email":"drewwalters@microsoft.com","username":"drewwalters96"},"change_message_id":"73588ca018431278c18815d884c90a6ba9fae306","unresolved":false,"context_lines":[{"line_number":47,"context_line":"{{- else }}"},{"line_number":48,"context_line":"          - path: /"},{"line_number":49,"context_line":"{{- end }}"},{"line_number":50,"context_line":"            backend:"},{"line_number":51,"context_line":"              serviceName: {{ tuple \"maas_region\" \"internal\" . | include \"helm-toolkit.endpoints.hostname_short_endpoint_lookup\" }}"},{"line_number":52,"context_line":"              servicePort: region-api"},{"line_number":53,"context_line":"..."},{"line_number":54,"context_line":"{{ end }}"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"5fc1f717_16fef46a","line":52,"range":{"start_line":50,"start_character":12,"end_line":52,"end_character":37},"updated":"2019-04-03 16:13:02.000000000","message":"The if else causes this to render with this extra block if the GUI is disabled. For this pattern, you\u0027ll need to move this backend inside the else.","commit_id":"534987b3f8e677b072cc37ea67643360747e0d42"},{"author":{"_account_id":22604,"name":"Samuel Pilla","email":"sp516w@att.com","username":"samuel.pilla"},"change_message_id":"4fabde90e0e67462b779c02321872a4e32ef6869","unresolved":false,"context_lines":[{"line_number":47,"context_line":"{{- else }}"},{"line_number":48,"context_line":"          - path: /"},{"line_number":49,"context_line":"{{- end }}"},{"line_number":50,"context_line":"            backend:"},{"line_number":51,"context_line":"              serviceName: {{ tuple \"maas_region\" \"internal\" . | include \"helm-toolkit.endpoints.hostname_short_endpoint_lookup\" }}"},{"line_number":52,"context_line":"              servicePort: region-api"},{"line_number":53,"context_line":"..."},{"line_number":54,"context_line":"{{ end }}"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"5fc1f717_7c4dd797","line":52,"range":{"start_line":50,"start_character":12,"end_line":52,"end_character":37},"in_reply_to":"5fc1f717_16fef46a","updated":"2019-04-03 17:58:43.000000000","message":"Done","commit_id":"534987b3f8e677b072cc37ea67643360747e0d42"},{"author":{"_account_id":20466,"name":"Tin Lam","email":"tin@lam.wtf","username":"tinlam"},"change_message_id":"af3fccc28fa58c55f8c9647f0e6f09f9773cdc0d","unresolved":false,"context_lines":[{"line_number":38,"context_line":"              servicePort: region-api"},{"line_number":39,"context_line":"          - path: /MAAS/metadata"},{"line_number":40,"context_line":"            backend:"},{"line_number":41,"context_line":"              serviceName: {{ tuple \"maas_region\" \"internal\" . | include \"helm-toolkit.endpoints.hostname_short_endpoint_lookup\" }}"},{"line_number":42,"context_line":"              servicePort: region-api"},{"line_number":43,"context_line":"          - path: /MAAS/rpc"},{"line_number":44,"context_line":"            backend:"},{"line_number":45,"context_line":"              serviceName: {{ tuple \"maas_region\" \"internal\" . | include \"helm-toolkit.endpoints.hostname_short_endpoint_lookup\" }}"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5fc1f717_b5bd8d03","line":42,"range":{"start_line":41,"start_character":0,"end_line":42,"end_character":37},"updated":"2019-04-04 01:01:18.000000000","message":"do all these paths map to the same serviceName and servicePort?","commit_id":"217e6ca544a7cf2fb3cbd05dab1e2126bd424fbd"},{"author":{"_account_id":22604,"name":"Samuel Pilla","email":"sp516w@att.com","username":"samuel.pilla"},"change_message_id":"ac07d9e8419298cd10df52524c20ded891add3ad","unresolved":false,"context_lines":[{"line_number":38,"context_line":"              servicePort: region-api"},{"line_number":39,"context_line":"          - path: /MAAS/metadata"},{"line_number":40,"context_line":"            backend:"},{"line_number":41,"context_line":"              serviceName: {{ tuple \"maas_region\" \"internal\" . | include \"helm-toolkit.endpoints.hostname_short_endpoint_lookup\" }}"},{"line_number":42,"context_line":"              servicePort: region-api"},{"line_number":43,"context_line":"          - path: /MAAS/rpc"},{"line_number":44,"context_line":"            backend:"},{"line_number":45,"context_line":"              serviceName: {{ tuple \"maas_region\" \"internal\" . | include \"helm-toolkit.endpoints.hostname_short_endpoint_lookup\" }}"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5fc1f717_be30bcea","line":42,"range":{"start_line":41,"start_character":0,"end_line":42,"end_character":37},"in_reply_to":"5fc1f717_b5bd8d03","updated":"2019-04-08 21:20:02.000000000","message":"that is correct","commit_id":"217e6ca544a7cf2fb3cbd05dab1e2126bd424fbd"}]}
