2023-11-24 12:09:47 +01:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1alpha1
|
|
|
|
kind: Component
|
|
|
|
|
|
|
|
resources:
|
|
|
|
- ./resources/deployment.yaml
|
|
|
|
- ./resources/service.yaml
|
|
|
|
|
|
|
|
configMapGenerator:
|
2023-12-11 09:50:13 +01:00
|
|
|
- name: hydra-ldap-env
|
2023-11-24 12:09:47 +01:00
|
|
|
literals:
|
|
|
|
- WERTHER_DEV_MODE=false
|
|
|
|
- WERTHER_LDAP_ROLE_CLAIM="https://hydra/claims/roles"
|
|
|
|
- WERTHER_SKIP_SSL_VERIFICATIONS=false
|
|
|
|
- WERTHER_IDENTP_CLAIM_SCOPES="name:profile,family_name:profile,given_name:profile,email:email,https%3A%2F%2Fhydra%2Fclaims%2Froles:roles"
|
|
|
|
- WERTHER_IDENTP_HYDRA_URL="http://hydra:4444"
|
|
|
|
- WERTHER_LDAP_ENDPOINTS="ldap.test.fr:636"
|
|
|
|
- WERTHER_LDAP_IS_TLS=true
|
|
|
|
- WERTHER_LDAP_BASEDN="o=test,c=fr"
|
|
|
|
- WERTHER_LDAP_ROLE_BASEDN="ou=groups,o=test,c=fr"
|
2023-12-06 14:40:24 +01:00
|
|
|
- WERTHER_LDAP_CONNECTION_TIMEOUT="10s"
|
2023-11-24 12:09:47 +01:00
|
|
|
|
|
|
|
secretGenerator:
|
2023-12-11 09:50:13 +01:00
|
|
|
- name: hydra-ldap-sc
|
2023-11-24 12:09:47 +01:00
|
|
|
literals:
|
|
|
|
- WERTHER_LDAP_BINDDN="cn=reader,o=test,c=fr"
|
|
|
|
- WERTHER_LDAP_BINDPW=ThisMustBeAbsolutelyChanged
|