'program' directive being depreciated in HAProxy - consider releasing a standalone dataplaneapi Docker image
With the 'program' directive being depreciated as of HAProxy 3.1 and scheduled to be removed in version 3.3 ( blog post ) the alternative for containerised deployments seems to be to run a separate sidecar (unless I'm mistaken, happy to be corrected).
While I can bake my own dataplaneapi container, it would be useful to have one in the repo alongside the existing images. Could this be considered?
I think HAProxy Enterprise official Docker image uses a thing called s6-overlay to run both HAProxy Enterprise and HAProxy Data Plane API as services in the same container (source: https://www.haproxy.com/documentation/haproxy-enterprise/getting-started/installation/docker/#reload-or-stop-the-services). Took me a few hours to get familiar with s6-overlay and re-engineer my HAProxy container from scratch (had some issues with environmental variables and the old worker process not exiting on SIGUSR2, but eventually solved them both). If You have no issues running more than one process in the container You could try that.
We plan to release S6-overlay enabled HAProxy CE + Dataplaneapi image really really soon.