From 635d530dc975f4e2f83e6b0f5037f93d2c608daf Mon Sep 17 00:00:00 2001 From: Tu Doan Date: Mon, 20 Jun 2022 17:03:38 +0700 Subject: [PATCH] Fix ldap bind password secret usage --- roles/installer/templates/config.yaml.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/installer/templates/config.yaml.j2 b/roles/installer/templates/config.yaml.j2 index e94b86c4..283501d5 100644 --- a/roles/installer/templates/config.yaml.j2 +++ b/roles/installer/templates/config.yaml.j2 @@ -101,6 +101,11 @@ data: BROADCAST_WEBSOCKET_PORT = 8052 BROADCAST_WEBSOCKET_PROTOCOL = 'http' + # Load LDAP BIND password from Kubernetes secret if define + {% if ldap_password_secret -%} + AUTH_LDAP_BIND_PASSWORD = "{{ ldap_bind_password }}" + {% endif %} + {% for item in extra_settings | default([]) %} {{ item.setting }} = {{ item.value }} {% endfor %}