HAProxy: fix bind mount to expose stats socket

I54b5b59ef49de8d66232312bc449559a7f16eaad configures the HAProxy
service to expose the stats socket with a bind mount, however the
main service container doesn't use that bind mount. Fix that.

Change-Id: I316ab408e82cda70bed8b203b3755936392201da
This commit is contained in:
Damien Ciabrini 2018-03-23 20:13:27 +00:00
parent b8044a36b6
commit d42c59b0d7

View File

@ -211,7 +211,7 @@ outputs:
# the necessary bit and prevent systemd to try to reload the service in the container
- /usr/libexec/iptables:/usr/libexec/iptables:ro
- /usr/libexec/initscripts/legacy-actions:/usr/libexec/initscripts/legacy-actions:ro
- /var/lib/haproxy:/var/lib/haproxy
- /var/lib/haproxy:/var/lib/haproxy:rw
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
haproxy:
@ -226,6 +226,7 @@ outputs:
-
- /var/lib/kolla/config_files/haproxy.json:/var/lib/kolla/config_files/config.json:ro
- /var/lib/config-data/puppet-generated/haproxy/:/var/lib/kolla/config_files/src:ro
- /var/lib/haproxy:/var/lib/haproxy:rw
- if:
- public_tls_enabled
- - list_join: