Merge commit 'fe564d72279f4ab061b961dd528623f0ed272667' as 'cluster-config'
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1alpha1
|
||||
kind: Component
|
||||
|
||||
resources:
|
||||
- ldap-external-secret.yaml
|
||||
|
||||
patches:
|
||||
- patch: |-
|
||||
- op: add
|
||||
path: /spec/identityProviders/-
|
||||
value:
|
||||
name: Internal
|
||||
mappingMethod: claim
|
||||
type: LDAP
|
||||
ldap:
|
||||
attributes:
|
||||
id:
|
||||
- dn
|
||||
name:
|
||||
- cn
|
||||
preferredUsername:
|
||||
- uid
|
||||
bindDN: "openshift,dc=ocplab,dc=com"
|
||||
bindPassword:
|
||||
name: ldap-secret
|
||||
insecure: true
|
||||
url: "ldap://infra-server/ou=users,dc=ocplab,dc=com?uid"
|
||||
target:
|
||||
group: config.openshift.io
|
||||
kind: OAuth
|
||||
name: cluster
|
||||
version: v1
|
||||
Reference in New Issue
Block a user