Last active
June 15, 2021 07:15
-
-
Save ralvares/9f05810df9c4070225969767a4a58048 to your computer and use it in GitHub Desktop.
ldap_IDM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: config.openshift.io/v1 | |
| kind: OAuth | |
| metadata: | |
| name: cluster | |
| spec: | |
| identityProviders: | |
| - name: ldapidp | |
| mappingMethod: claim | |
| type: LDAP | |
| ldap: | |
| attributes: | |
| id: | |
| - dn | |
| email: | |
| name: | |
| - cn | |
| preferredUsername: | |
| - uid | |
| bindDN: srvcSatelliteLDAP@ADSERVER | |
| bindPassword: | |
| name: ldap-bind-password | |
| insecure: true | |
| url: "ldap://ADSERVER.local/DC=ADSERVER,DC=local?sAMAccountName?sub?(|(memberOf=CN=OCPAdmins,OU=Groups,DC=ADSERVER,DC=local)(memberOf=CN=Developers,OU=Groups,DC=ADSERVER,DC=local))" | |
| tokenConfig: | |
| accessTokenMaxAgeSeconds: 86400 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment