diff options
author | Andrew Butcher <abutcher@redhat.com> | 2015-07-31 15:13:44 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2015-07-31 16:12:02 -0400 |
commit | a000874e90000f15ea7aed09344eb2c641d27008 (patch) | |
tree | 5fc13929b2468ff5f79826b871a027c069932ebe /roles | |
parent | 3c2893290640865cce15f6093a9ab2f11c294acd (diff) | |
download | openshift-a000874e90000f15ea7aed09344eb2c641d27008.tar.gz openshift-a000874e90000f15ea7aed09344eb2c641d27008.tar.bz2 openshift-a000874e90000f15ea7aed09344eb2c641d27008.tar.xz openshift-a000874e90000f15ea7aed09344eb2c641d27008.zip |
Add LDAPPasswordIdentityProvider bits to identity_provider_config macro.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_master/templates/v1_partials/oauthConfig.j2 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/openshift_master/templates/v1_partials/oauthConfig.j2 b/roles/openshift_master/templates/v1_partials/oauthConfig.j2 index f6fd88c65..4ca644876 100644 --- a/roles/openshift_master/templates/v1_partials/oauthConfig.j2 +++ b/roles/openshift_master/templates/v1_partials/oauthConfig.j2 @@ -10,6 +10,20 @@ {{ key }}: {{ identity_provider[key] }}" {% endif %} {% endfor %} +{% elif identity_provider.kind == 'LDAPPasswordIdentityProvider' %} + attributes: +{% for attribute_key in identity_provider.attributes %} + {{ attribute_key }}: +{% for attribute_value in identity_provider.attributes[attribute_key] %} + - {{ attribute_value }} +{% endfor %} +{% endfor %} +{% for key in ('bindDN', 'bindPassword', 'ca') %} + {{ key }}: "{{ identity_provider[key] }}" +{% endfor %} +{% for key in ('insecure', 'url') %} + {{ key }}: {{ identity_provider[key] }} +{% endfor %} {% elif identity_provider.kind == 'RequestHeaderIdentityProvider' %} headers: {{ identity_provider.headers }} {% if 'clientCA' in identity_provider %} |