)]}'
{"doc/source/configure-haproxy.rst":[{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"57df588009287c3739f6a1a7c5e71f80a4fdddcc","unresolved":true,"context_lines":[{"line_number":388,"context_line":"      haproxy_whitelist_networks: \"{{ haproxy_whitelist_networks }}\""},{"line_number":389,"context_line":"      haproxy_frontend_only: True"},{"line_number":390,"context_line":"      haproxy_raw:"},{"line_number":391,"context_line":"        - \u0027http-request use-service prometheus-exporter if { path /metrics }\u0027"},{"line_number":392,"context_line":"        - \u0027mode http\u0027"},{"line_number":393,"context_line":"      haproxy_service_enabled: True"}],"source_content_type":"text/x-rst","patch_set":2,"id":"dd61bbfb_affd8055","line":391,"range":{"start_line":391,"start_character":11,"end_line":391,"end_character":23},"updated":"2020-12-10 16:32:26.000000000","message":"maybe worth adding `haproxy_http_request` key instead of raw then?","commit_id":"ae1fb32f25c75bee02a72e88b81b692ec0689e06"},{"author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"change_message_id":"125476852679a0b366999f418334cdc89ffd1a96","unresolved":true,"context_lines":[{"line_number":388,"context_line":"      haproxy_whitelist_networks: \"{{ haproxy_whitelist_networks }}\""},{"line_number":389,"context_line":"      haproxy_frontend_only: True"},{"line_number":390,"context_line":"      haproxy_raw:"},{"line_number":391,"context_line":"        - \u0027http-request use-service prometheus-exporter if { path /metrics }\u0027"},{"line_number":392,"context_line":"        - \u0027mode http\u0027"},{"line_number":393,"context_line":"      haproxy_service_enabled: True"}],"source_content_type":"text/x-rst","patch_set":2,"id":"92e0ee92_1632599f","line":391,"range":{"start_line":391,"start_character":11,"end_line":391,"end_character":23},"in_reply_to":"dd61bbfb_affd8055","updated":"2020-12-10 18:53:14.000000000","message":"if we go with raw we can also add any configuration supported by haproxy without having to modify the template.\nit would then be possible to use it to set stuff like performance tuning directly in the service via this entry etc..","commit_id":"ae1fb32f25c75bee02a72e88b81b692ec0689e06"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"57df588009287c3739f6a1a7c5e71f80a4fdddcc","unresolved":true,"context_lines":[{"line_number":389,"context_line":"      haproxy_frontend_only: True"},{"line_number":390,"context_line":"      haproxy_raw:"},{"line_number":391,"context_line":"        - \u0027http-request use-service prometheus-exporter if { path /metrics }\u0027"},{"line_number":392,"context_line":"        - \u0027mode http\u0027"},{"line_number":393,"context_line":"      haproxy_service_enabled: True"}],"source_content_type":"text/x-rst","patch_set":2,"id":"8bad2616_4633502d","line":392,"range":{"start_line":392,"start_character":7,"end_line":392,"end_character":21},"updated":"2020-12-10 16:32:26.000000000","message":"mode is set with `haproxy_balance_type`, so I\u0027d use it instead.","commit_id":"ae1fb32f25c75bee02a72e88b81b692ec0689e06"},{"author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"change_message_id":"125476852679a0b366999f418334cdc89ffd1a96","unresolved":true,"context_lines":[{"line_number":389,"context_line":"      haproxy_frontend_only: True"},{"line_number":390,"context_line":"      haproxy_raw:"},{"line_number":391,"context_line":"        - \u0027http-request use-service prometheus-exporter if { path /metrics }\u0027"},{"line_number":392,"context_line":"        - \u0027mode http\u0027"},{"line_number":393,"context_line":"      haproxy_service_enabled: True"}],"source_content_type":"text/x-rst","patch_set":2,"id":"d40916db_dc777664","line":392,"range":{"start_line":392,"start_character":7,"end_line":392,"end_character":21},"in_reply_to":"8bad2616_4633502d","updated":"2020-12-10 18:53:14.000000000","message":"indeed.","commit_id":"ae1fb32f25c75bee02a72e88b81b692ec0689e06"}],"templates/service.j2":[{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"57df588009287c3739f6a1a7c5e71f80a4fdddcc","unresolved":true,"context_lines":[{"line_number":70,"context_line":"{% if item.service.haproxy_acls is defined %}"},{"line_number":71,"context_line":"{%   for key, value in item.service.haproxy_acls.items() %}"},{"line_number":72,"context_line":"    acl {{ key }} {{ value.rule }}"},{"line_number":73,"context_line":"    use_backend {{ value.backend_name | default(item.service.haproxy_service_name) }}-back if {{ key }}"},{"line_number":74,"context_line":"{%   endfor %}"},{"line_number":75,"context_line":"{% endif %}"},{"line_number":76,"context_line":"{% if (item.service.haproxy_ssl | default(false) | bool) and request_option \u003d\u003d \u0027http\u0027 and (loop.index \u003d\u003d 1 or vip_bind in extra_lb_tls_vip_addresses or item.service.haproxy_ssl_all_vips | default(false) | bool) %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"d1de7f91_409eaf89","line":73,"range":{"start_line":73,"start_character":4,"end_line":73,"end_character":15},"updated":"2020-12-10 16:32:26.000000000","message":"I think this would not be valid with haproxy_frontend_only?","commit_id":"8c85dc0ef06af86a22884da304f5598117ca3640"},{"author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"change_message_id":"01c3a2d9e35a616d30dccfd446690d4b41e08d8b","unresolved":false,"context_lines":[{"line_number":70,"context_line":"{% if item.service.haproxy_acls is defined %}"},{"line_number":71,"context_line":"{%   for key, value in item.service.haproxy_acls.items() %}"},{"line_number":72,"context_line":"    acl {{ key }} {{ value.rule }}"},{"line_number":73,"context_line":"    use_backend {{ value.backend_name | default(item.service.haproxy_service_name) }}-back if {{ key }}"},{"line_number":74,"context_line":"{%   endfor %}"},{"line_number":75,"context_line":"{% endif %}"},{"line_number":76,"context_line":"{% if (item.service.haproxy_ssl | default(false) | bool) and request_option \u003d\u003d \u0027http\u0027 and (loop.index \u003d\u003d 1 or vip_bind in extra_lb_tls_vip_addresses or item.service.haproxy_ssl_all_vips | default(false) | bool) %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"125eecc6_e0203df5","line":73,"range":{"start_line":73,"start_character":4,"end_line":73,"end_character":15},"in_reply_to":"d1de7f91_409eaf89","updated":"2020-12-10 18:51:23.000000000","message":"probably yes. adding it to the block","commit_id":"8c85dc0ef06af86a22884da304f5598117ca3640"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"57df588009287c3739f6a1a7c5e71f80a4fdddcc","unresolved":true,"context_lines":[{"line_number":77,"context_line":"    reqadd X-Forwarded-Proto:\\ https"},{"line_number":78,"context_line":"{% endif %}"},{"line_number":79,"context_line":"{% if not item.service.haproxy_frontend_only | default(false) %}"},{"line_number":80,"context_line":"     mode {{ item.service.haproxy_balance_type }}"},{"line_number":81,"context_line":"     default_backend {{ item.service.haproxy_service_name }}-back"},{"line_number":82,"context_line":"{% endif %}"},{"line_number":83,"context_line":"{% for entry in item.service.haproxy_raw|default([]) %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"3e55e6c7_69b3db83","line":80,"range":{"start_line":80,"start_character":0,"end_line":80,"end_character":49},"updated":"2020-12-10 16:32:26.000000000","message":"then move this outside of if block?","commit_id":"8c85dc0ef06af86a22884da304f5598117ca3640"},{"author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"change_message_id":"01c3a2d9e35a616d30dccfd446690d4b41e08d8b","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    reqadd X-Forwarded-Proto:\\ https"},{"line_number":78,"context_line":"{% endif %}"},{"line_number":79,"context_line":"{% if not item.service.haproxy_frontend_only | default(false) %}"},{"line_number":80,"context_line":"     mode {{ item.service.haproxy_balance_type }}"},{"line_number":81,"context_line":"     default_backend {{ item.service.haproxy_service_name }}-back"},{"line_number":82,"context_line":"{% endif %}"},{"line_number":83,"context_line":"{% for entry in item.service.haproxy_raw|default([]) %}"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"73a9cc98_5f0d23cd","line":80,"range":{"start_line":80,"start_character":0,"end_line":80,"end_character":49},"in_reply_to":"3e55e6c7_69b3db83","updated":"2020-12-10 18:51:23.000000000","message":"Done","commit_id":"8c85dc0ef06af86a22884da304f5598117ca3640"},{"author":{"_account_id":25023,"name":"Jonathan Rosser","email":"jonathan.rosser@rd.bbc.co.uk","username":"jrosser"},"change_message_id":"c0bc4f033905ea99138eb0848f69897edc43cbdf","unresolved":true,"context_lines":[{"line_number":80,"context_line":"     mode {{ item.service.haproxy_balance_type }}"},{"line_number":81,"context_line":"     default_backend {{ item.service.haproxy_service_name }}-back"},{"line_number":82,"context_line":"{% endif %}"},{"line_number":83,"context_line":"{% for entry in item.service.haproxy_raw|default([]) %}"},{"line_number":84,"context_line":"    {{ entry }}"},{"line_number":85,"context_line":"{% endfor %}"},{"line_number":86,"context_line":"{% endfor %}"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"f6565942_36ab5aad","line":83,"range":{"start_line":83,"start_character":29,"end_line":83,"end_character":40},"updated":"2020-12-10 16:29:54.000000000","message":"i wonder if this should be haproxy_frontend_raw because someone is certain to want the same thing for backend config at some point?","commit_id":"ae1fb32f25c75bee02a72e88b81b692ec0689e06"},{"author":{"_account_id":25023,"name":"Jonathan Rosser","email":"jonathan.rosser@rd.bbc.co.uk","username":"jrosser"},"change_message_id":"5df361d182252f9db7543b352aabe0095d4ea366","unresolved":true,"context_lines":[{"line_number":78,"context_line":"{% if (item.service.haproxy_ssl | default(false) | bool) and request_option \u003d\u003d \u0027http\u0027 and (loop.index \u003d\u003d 1 or vip_bind in extra_lb_tls_vip_addresses or item.service.haproxy_ssl_all_vips | default(false) | bool) %}"},{"line_number":79,"context_line":"    reqadd X-Forwarded-Proto:\\ https"},{"line_number":80,"context_line":"{% endif %}"},{"line_number":81,"context_line":"     mode {{ item.service.haproxy_balance_type }}"},{"line_number":82,"context_line":"{% if not item.service.haproxy_frontend_only | default(false) %}"},{"line_number":83,"context_line":"     default_backend {{ item.service.haproxy_service_name }}-back"},{"line_number":84,"context_line":"{% endif %}"}],"source_content_type":"text/x-jinja2","patch_set":8,"id":"461f61e3_f2988f84","line":81,"range":{"start_line":81,"start_character":0,"end_line":81,"end_character":5},"updated":"2020-12-12 21:23:10.000000000","message":"the indent here is 5 rather than 4","commit_id":"5f4191704c38b68d27689fb24aa8131f19209769"},{"author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"change_message_id":"2b167555bca5b44d726eaaadc59bb61cae46fc47","unresolved":false,"context_lines":[{"line_number":78,"context_line":"{% if (item.service.haproxy_ssl | default(false) | bool) and request_option \u003d\u003d \u0027http\u0027 and (loop.index \u003d\u003d 1 or vip_bind in extra_lb_tls_vip_addresses or item.service.haproxy_ssl_all_vips | default(false) | bool) %}"},{"line_number":79,"context_line":"    reqadd X-Forwarded-Proto:\\ https"},{"line_number":80,"context_line":"{% endif %}"},{"line_number":81,"context_line":"     mode {{ item.service.haproxy_balance_type }}"},{"line_number":82,"context_line":"{% if not item.service.haproxy_frontend_only | default(false) %}"},{"line_number":83,"context_line":"     default_backend {{ item.service.haproxy_service_name }}-back"},{"line_number":84,"context_line":"{% endif %}"}],"source_content_type":"text/x-jinja2","patch_set":8,"id":"d9de7c04_62eb63d8","line":81,"range":{"start_line":81,"start_character":0,"end_line":81,"end_character":5},"in_reply_to":"461f61e3_f2988f84","updated":"2020-12-14 14:17:46.000000000","message":"Done","commit_id":"5f4191704c38b68d27689fb24aa8131f19209769"},{"author":{"_account_id":25023,"name":"Jonathan Rosser","email":"jonathan.rosser@rd.bbc.co.uk","username":"jrosser"},"change_message_id":"5df361d182252f9db7543b352aabe0095d4ea366","unresolved":true,"context_lines":[{"line_number":80,"context_line":"{% endif %}"},{"line_number":81,"context_line":"     mode {{ item.service.haproxy_balance_type }}"},{"line_number":82,"context_line":"{% if not item.service.haproxy_frontend_only | default(false) %}"},{"line_number":83,"context_line":"     default_backend {{ item.service.haproxy_service_name }}-back"},{"line_number":84,"context_line":"{% endif %}"},{"line_number":85,"context_line":"{% for entry in item.service.haproxy_raw|default([]) %}"},{"line_number":86,"context_line":"    {{ entry }}"}],"source_content_type":"text/x-jinja2","patch_set":8,"id":"bd34b251_315daf8a","line":83,"range":{"start_line":83,"start_character":1,"end_line":83,"end_character":5},"updated":"2020-12-12 21:23:10.000000000","message":"5 indent here also","commit_id":"5f4191704c38b68d27689fb24aa8131f19209769"},{"author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"change_message_id":"2b167555bca5b44d726eaaadc59bb61cae46fc47","unresolved":false,"context_lines":[{"line_number":80,"context_line":"{% endif %}"},{"line_number":81,"context_line":"     mode {{ item.service.haproxy_balance_type }}"},{"line_number":82,"context_line":"{% if not item.service.haproxy_frontend_only | default(false) %}"},{"line_number":83,"context_line":"     default_backend {{ item.service.haproxy_service_name }}-back"},{"line_number":84,"context_line":"{% endif %}"},{"line_number":85,"context_line":"{% for entry in item.service.haproxy_raw|default([]) %}"},{"line_number":86,"context_line":"    {{ entry }}"}],"source_content_type":"text/x-jinja2","patch_set":8,"id":"4039de4a_467964e6","line":83,"range":{"start_line":83,"start_character":1,"end_line":83,"end_character":5},"in_reply_to":"bd34b251_315daf8a","updated":"2020-12-14 14:17:46.000000000","message":"Done","commit_id":"5f4191704c38b68d27689fb24aa8131f19209769"}]}
