mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Address review comments
This commit is contained in:
committed by
Dimitri Savineau
parent
f967c7d341
commit
f1660c8bd1
@@ -1,11 +1,13 @@
|
||||
{% if ldap_cacert_ca_crt %}
|
||||
import ldap
|
||||
|
||||
AUTH_LDAP_GLOBAL_OPTIONS = {
|
||||
{% if ldap_cacert_ca_crt %}
|
||||
ldap.OPT_X_TLS_REQUIRE_CERT: True,
|
||||
ldap.OPT_X_TLS_CACERTFILE: "/etc/openldap/certs/ldap-ca.crt"
|
||||
{% endif %}
|
||||
}
|
||||
{% else %}
|
||||
AUTH_LDAP_GLOBAL_OPTIONS = {}
|
||||
{% endif %}
|
||||
|
||||
# Load LDAP BIND password from Kubernetes secret if define
|
||||
{% if ldap_password_secret -%}
|
||||
|
||||
Reference in New Issue
Block a user