Merge "Change the default haproxy template to split variant"

This commit is contained in:
Zuul 2020-10-01 12:49:02 +00:00 committed by Gerrit Code Review
commit 586357ca74
2 changed files with 18 additions and 1 deletions

View File

@ -1,7 +1,8 @@
--- ---
project_name: "haproxy-config" project_name: "haproxy-config"
haproxy_service_template: "haproxy_single_service_listen.cfg.j2" # DEPRECATED(yoctozepto): using "haproxy_single_service_listen.cfg.j2" here is deprecated
haproxy_service_template: "haproxy_single_service_split.cfg.j2"
# Extra frontend/backend options (additive with locally defined options) # Extra frontend/backend options (additive with locally defined options)
haproxy_frontend_http_extra: haproxy_frontend_http_extra:

View File

@ -0,0 +1,16 @@
---
upgrade:
- |
The default of ``haproxy_service_template`` changed to
``haproxy_single_service_split.cfg.j2``.
This template allows more flexibility in service config.
The previously-default ``haproxy_single_service_listen.cfg.j2`` is now
deprecated for removal.
No action needs to be taken unless one relied on replacing the previous
default template contents with one's own (under the same name).
deprecations:
- |
The previous default of ``haproxy_service_template``
(``haproxy_single_service_listen.cfg.j2``) is now deprecated for removal
as ``haproxy_single_service_split.cfg.j2`` takes it place to allow more
flexibility in service config.