diff options
author | Martin André <m.andre@redhat.com> | 2017-07-10 13:25:17 +0200 |
---|---|---|
committer | Martin André <m.andre@redhat.com> | 2017-07-10 13:25:17 +0200 |
commit | b2de70fd8fc39be230002c701f2cb882ba87420e (patch) | |
tree | 8da440424edbfb54ebf22085e43549aea2e0e9ca /docker/services/database | |
parent | 766de0cacb18171264d2a699ac48cacb8d35a152 (diff) |
Bind mount needed cert for haproxy for HA too
haproxy needs the deployed SSL cert file to function when TLS is
enabled.
It is also required for the docker-puppet haproxy container since the
haproxy puppet module uses a validate_cmd to check the generated config
file is valid that fails when the required SSL cert is not present.
There is no clean way to disable this feature [1] so we need to bind
mount the cert into the container.
This commit applies the same change that was applied in
Id2df144b678769def204961236624091d4e5c457 for the non-ha case.
[1] https://github.com/puppetlabs/puppetlabs-haproxy/blob/4753ea5b2506ee093e9b4c8af6e91201d476d426/manifests/config.pp#L53-L57
Change-Id: I93e1ee86197bcf271f18a62a27c2f350ed3966ea
Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>
Diffstat (limited to 'docker/services/database')
0 files changed, 0 insertions, 0 deletions