diff --git a/k8s/infra/auth/lldap/bootstrap.yaml b/k8s/infra/auth/lldap/bootstrap.yaml index 0fe9144..53fe8a8 100644 --- a/k8s/infra/auth/lldap/bootstrap.yaml +++ b/k8s/infra/auth/lldap/bootstrap.yaml @@ -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: diff --git a/k8s/infra/auth/lldap/kustomization.yaml b/k8s/infra/auth/lldap/kustomization.yaml index 8d2e2c9..d054d4b 100644 --- a/k8s/infra/auth/lldap/kustomization.yaml +++ b/k8s/infra/auth/lldap/kustomization.yaml @@ -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 diff --git a/k8s/infra/auth/lldap/users/test.json b/k8s/infra/auth/lldap/users/test.json new file mode 100644 index 0000000..36ad855 --- /dev/null +++ b/k8s/infra/auth/lldap/users/test.json @@ -0,0 +1,7 @@ +{ + "id": "test", + "email": "test-user@stonegarden.dev", + "firstName": "Test", + "lastName": "User", + "displayName": "Test User" +}