summaryrefslogtreecommitdiff
path: root/data.d/k3s-master/manifests.d/auth-system/lldap/deployment.yaml
blob: 6eeccc05d8f1fcd861ad2be020612c24f75cdcf8 (plain)
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:
  name: lldap
  namespace: auth-system
  labels:
    app.kubernetes.io/created-by: tyil
    app.kubernetes.io/managed-by: manual
    app.kubernetes.io/name: lldap
    app.kubernetes.io/part-of: auth-system
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/created-by: tyil
      app.kubernetes.io/managed-by: manual
      app.kubernetes.io/name: lldap
      app.kubernetes.io/part-of: auth-system
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app.kubernetes.io/created-by: tyil
        app.kubernetes.io/managed-by: manual
        app.kubernetes.io/name: lldap
        app.kubernetes.io/part-of: auth-system
    spec:
      containers:
      - env:
        - name: GID
          value: "1001"
        - name: TZ
          value: Europe/Amsterdam
        - name: UID
          value: "1001"
        image: nitnelave/lldap:latest
        name: lldap
        ports:
        - name: ldap
          containerPort: 3890
        - name: ldaps
          containerPort: 6360
        - name: http
          containerPort: 8080
        volumeMounts:
        - mountPath: /data
          name: data
        - mountPath: /etc/tls
          name: tls
        resources:
          requests:
            memory: 32Mi
          limits:
            memory: 128Mi
      restartPolicy: Always
      volumes:
      - name: data
        persistentVolumeClaim:
          claimName: lldap
      - name: tls
        secret:
          secretName: tls-nl.tyil.lldap
...