Merge commit 'fe564d72279f4ab061b961dd528623f0ed272667' as 'cluster-config'

This commit is contained in:
2025-03-30 15:46:16 -05:00
346 changed files with 11754 additions and 0 deletions

View File

@@ -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

View File

@@ -0,0 +1,15 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: ldap-secret
namespace: openshift-config
spec:
secretStoreRef:
kind: ClusterSecretStore
name: doppler-cluster
target:
name: ldap-secret
data:
- secretKey: bindPassword
remoteRef:
key: LDAP