Override config directory in certs install script in config app

This commit is contained in:
Sam Chow 2018-07-18 14:21:25 -04:00
parent 4c5e5d0579
commit 860703c2b2
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ class LDAPValidator(BaseValidator):
# If there is a custom LDAP certificate, then reinstall the certificates for the container.
if config_provider.volume_file_exists(LDAP_CERT_FILENAME):
subprocess.check_call([os.path.join(init_scripts_location, 'certs_install.sh')],
env={ 'QUAYCONF': config_provider.get_config_dir_path() })
env={ 'QUAYCONFIG': config_provider.get_config_dir_path() })
# Note: raises ldap.INVALID_CREDENTIALS on failure
admin_dn = config.get('LDAP_ADMIN_DN')