Code Monkey home page Code Monkey logo

openshift-ldap's Introduction

openshift-ldap

  1. The LDAP authentication provider expects the server certificate to be provided via a ConfigMap in the openshift-config project. The expected key for the certificate is ca.crt.
oc create configmap XXXXX-ldap-ca-cert --from-file=ca.crt=$HOME/ldap-ca.crt -n openshift-config
  1. It also expects the bind password to be provided via a secret. The expected key is bindPassword.
oc create secret generic XXXXX-ldap-secret --from-literal=bindPassword=<your-password-value> -n openshift-config
  1. Finally create the LDAP Provider (use oc apply to replace the default provider with name cluster):
oc apply -f $HOME/XXXXX-ldap.yaml

Sample output:

Warning: oc apply should be used on resource created by either oc create --save-config or oc apply
oauth.config.openshift.io/cluster configured
  1. Validate that your config is there:
oc get oauths
  1. Test the connection.
oc login -u <ldap-user> -p <your-password>

Sample output:

Login successful.

You don't have any projects. You can try to create a new project, by running

    oc new-project <projectname>

openshift-ldap's People

Watchers

James Cloos avatar Alejandro Guadarrama avatar

Forkers

ahmedalazazy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.