-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathlldap-deployment.yaml
More file actions
65 lines (65 loc) · 1.71 KB
/
lldap-deployment.yaml
File metadata and controls
65 lines (65 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
lldap: https://github.com/nitnelave/lldap
k8s: https://github.com/Evantage-WS/lldap-kubernetes
labels:
app: lldap
name: lldap
spec:
replicas: 1
selector:
matchLabels:
app: lldap
strategy:
type: Recreate
template:
metadata:
annotations:
lldap: https://github.com/nitnelave/lldap
k8s: https://github.com/Evantage-WS/lldap-kubernetes
labels:
app: lldap
spec:
containers:
- env:
- name: GID
value: "1001"
- name: LLDAP_JWT_SECRET
valueFrom:
secretKeyRef:
name: lldap-credentials
key: lldap-jwt-secret
- name: LLDAP_KEY_SEED
valueFrom:
secretKeyRef:
name: lldap-credentials
key: lldap-key-seed
- name: LLDAP_LDAP_BASE_DN
valueFrom:
secretKeyRef:
name: lldap-credentials
key: base-dn
- name: LLDAP_LDAP_USER_PASS
valueFrom:
secretKeyRef:
name: lldap-credentials
key: lldap-ldap-user-pass
- name: TZ
value: CET
- name: UID
value: "1001"
image: nitnelave/lldap:latest
name: lldap
ports:
- containerPort: 3890
- containerPort: 17170
volumeMounts:
- mountPath: /data
name: lldap-data
restartPolicy: Always
volumes:
- name: lldap-data
persistentVolumeClaim:
claimName: lldap-data