mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-11-02 19:08:03 +00:00
feat(lldap): add a test user
This commit is contained in:
@@ -41,6 +41,11 @@ spec:
|
||||
items:
|
||||
- key: users.json
|
||||
path: users.json
|
||||
- configMap:
|
||||
name: users
|
||||
items:
|
||||
- key: test.json
|
||||
path: test.json
|
||||
- name: groups
|
||||
projected:
|
||||
sources:
|
||||
|
||||
@@ -18,6 +18,10 @@ configMapGenerator:
|
||||
- LLDAP_URL="http://lldap:80"
|
||||
- LLDAP_ADMIN_USERNAME="admin"
|
||||
- DO_CLEANUP="true"
|
||||
- name: users
|
||||
namespace: lldap
|
||||
files:
|
||||
- users/test.json
|
||||
|
||||
resources:
|
||||
- ns.yaml
|
||||
|
||||
7
k8s/infra/auth/lldap/users/test.json
Normal file
7
k8s/infra/auth/lldap/users/test.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"id": "test",
|
||||
"email": "test-user@stonegarden.dev",
|
||||
"firstName": "Test",
|
||||
"lastName": "User",
|
||||
"displayName": "Test User"
|
||||
}
|
||||
Reference in New Issue
Block a user