mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-10-29 17:12:34 +00:00
fix(lldap): add tmp-volume for bootstrapping
This commit is contained in:
@@ -39,26 +39,17 @@ spec:
|
||||
name: lldap-credentials
|
||||
key: LLDAP_LDAP_USER_PASS
|
||||
volumeMounts:
|
||||
- name: users
|
||||
mountPath: /bootstrap/user-configs
|
||||
readOnly: true
|
||||
- name: tmp
|
||||
mountPath: /tmp
|
||||
- name: groups
|
||||
mountPath: /bootstrap/group-configs
|
||||
readOnly: true
|
||||
- name: users
|
||||
mountPath: /bootstrap/user-configs
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: users
|
||||
projected:
|
||||
sources:
|
||||
- secret:
|
||||
name: lldap-config
|
||||
items:
|
||||
- key: users.json
|
||||
path: users.json
|
||||
- configMap:
|
||||
name: users
|
||||
items:
|
||||
- key: test.json
|
||||
path: test.json
|
||||
- name: tmp
|
||||
emptyDir: { }
|
||||
- name: groups
|
||||
projected:
|
||||
sources:
|
||||
@@ -67,3 +58,11 @@ spec:
|
||||
items:
|
||||
- key: groups.json
|
||||
path: groups.json
|
||||
- name: users
|
||||
projected:
|
||||
sources:
|
||||
- secret:
|
||||
name: lldap-config
|
||||
items:
|
||||
- key: users.json
|
||||
path: users.json
|
||||
|
||||
@@ -31,9 +31,9 @@ spec:
|
||||
# spec:
|
||||
# type: LoadBalancer
|
||||
storage:
|
||||
size: 1G
|
||||
size: 2G
|
||||
pvcTemplate:
|
||||
storageClassName: proxmox-csi
|
||||
volumeName: pv-lldap-postgres
|
||||
volumeName: pv-lldap-database
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
|
||||
@@ -25,6 +25,12 @@ configMapGenerator:
|
||||
namespace: lldap
|
||||
files:
|
||||
- users/test.json
|
||||
- users/more-users.json
|
||||
- name: custom-schemas
|
||||
namespace: lldap
|
||||
files:
|
||||
- group-schemas/group-application.json
|
||||
- user-schemas/user-details.json
|
||||
|
||||
resources:
|
||||
- ns.yaml
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"id": "test",
|
||||
"email": "test-user@stonegarden.dev",
|
||||
"firstName": "Test",
|
||||
"lastName": "User",
|
||||
"displayName": "Test User"
|
||||
}
|
||||
@@ -132,9 +132,9 @@ module "volumes" {
|
||||
node = "euclid"
|
||||
size = "1G"
|
||||
}
|
||||
pv-lldap-postgres = {
|
||||
pv-lldap-database = {
|
||||
node = "euclid"
|
||||
size = "1G"
|
||||
size = "2G"
|
||||
}
|
||||
pv-keycloak-postgres = {
|
||||
node = "euclid"
|
||||
|
||||
Reference in New Issue
Block a user