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