Mount /etc/openldap inside the keystone container

For configuring high availability for LDAP in keystone one
needs to edit /etc/openldap/ldap.conf. This worked
before control plane was containerised. Mounting the
openldap configuration into the keystone container
restores the previous behavior.

Change-Id: Id0d73a8ab0ddf7bf9e2b76ea14ffc9acff3a0ad3
Closes-Bug: #1923048
Resolves: rhbz#1944466
(cherry picked from commit 313e4484e2)
This commit is contained in:
Grzegorz Grasza 2021-04-08 14:34:57 +02:00
parent 20368b2df2
commit 6342deafc3
1 changed files with 1 additions and 0 deletions

View File

@ -673,6 +673,7 @@ outputs:
- {get_attr: [ContainersCommon, volumes]}
- {get_attr: [KeystoneLogging, volumes]}
-
- /etc/openldap:/etc/openldap:ro
- /var/lib/kolla/config_files/keystone.json:/var/lib/kolla/config_files/config.json:ro
- /var/lib/config-data/puppet-generated/keystone:/var/lib/kolla/config_files/src:ro
- if: