Ldap authentication via nginx ingress controller

Viewed 3507

I was using nginx ingress controller in kubernates where i have used customized nginx template file to have settings for ldap authentication by defining ldap_server directive. At the time of running the nginx ingress controller yaml file,I am getting error below.

Unknown directive ldap_server in nginx.templ file.

I searched this on web and found that it can be resolved by installing a third party module in nginx like below.

./configure --add-module=path_to_http_auth_ldap_module.

But How it can be done by nginxingress controller because it does not give direct access to the nginx configuration.

1 Answers
Related