diff --git a/releasenotes/notes/haproxy_frontend_raw-0811d5d445a66b41.yaml b/releasenotes/notes/haproxy_frontend_raw-0811d5d445a66b41.yaml new file mode 100644 index 0000000..496b8ec --- /dev/null +++ b/releasenotes/notes/haproxy_frontend_raw-0811d5d445a66b41.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixed inconsistency in ``haproxy_frontend_raw`` key naming between + documentation and service template. Previously, template generation + was expecting ``haproxy_raw`` instead of the ``haproxy_frontend_raw``. diff --git a/templates/service.j2 b/templates/service.j2 index 27578af..e290403 100644 --- a/templates/service.j2 +++ b/templates/service.j2 @@ -71,7 +71,7 @@ frontend {{ item.service.haproxy_service_name }}-front-{{ loop.index }} {% if not item.service.haproxy_frontend_only | default(false) %} default_backend {{ item.service.haproxy_service_name }}-back {% endif %} -{% for entry in item.service.haproxy_raw|default([]) %} +{% for entry in item.service.haproxy_frontend_raw|default([]) %} {{ entry }} {% endfor %} {% endfor %}