Skip to content

Fix apiserver backend for modern haproxy versions

Silvio Ankermann requested to merge fix/haproxy-header into devel

Version Control Information

Source branch: fix/haproxy-header
Target branch: devel

Commits:

* Fix apiserver backend for modern haproxy versions

We used to hide a Host header behind the version string. Haproxy 2.2
introduced `http-check send` which is now the preferred way to add
headers to health checks. Haproxy 2.8 (which is in Ubuntu 24.04) now
throws an error when the header hack is used.

This commit replaces the hack by a `http-check send` instruction.

Starting with this commit the minium required haproxy version is haproxy
2.2 which means that the minimum Debian version is now Debian 11.

Description

Feel free to add further information about your MR in this section

Closes: #


Merge Prerequisites

  • MR title (and description) are descriptive
  • Code is readable and syntactically correct
  • Code is understandable
  • Documentation has been updated, if necessary
  • Commit messages look good
  • Release note file in RST format added in latest commit

As a developer: please do not tick these boxes yourself. As a reviewer: please get yourself a hot cold beverage.

Merge request reports

Loading