Skip to content

Commit 5b0334e

Browse files
committed
Merge branch 'stable' into hotfix-1.1.8
2 parents 49e1237 + 64d6bc3 commit 5b0334e

File tree

5 files changed

+8
-50
lines changed

5 files changed

+8
-50
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ in case the image should be delivered complete with test data - this is especial
102102

103103
For more information about docker data volume, please refer to:
104104

105-
> [https://docs.docker.com/userguide/dockervolumes/](https://docs.docker.com/userguide/dockervolumes/)
105+
> [https://docs.docker.com/engine/tutorials/dockervolumes/](https://docs.docker.com/engine/tutorials/dockervolumes/)
106106
107107

108108
#### Edit your server configuration
@@ -121,7 +121,7 @@ simply mount this directories as a volume to `/var/lib/ldap` and `/etc/ldap/slap
121121
--detach osixia/openldap:1.1.7
122122

123123
You can also use data volume containers. Please refer to:
124-
> [https://docs.docker.com/userguide/dockervolumes/](https://docs.docker.com/userguide/dockervolumes/)
124+
> [https://docs.docker.com/engine/tutorials/dockervolumes/](https://docs.docker.com/engine/tutorials/dockervolumes/)
125125
126126
Note: By default this image is waiting an **hdb** database backend, if you want to use any other database backend set backend type via the LDAP_BACKEND environement variable.
127127

example/kubernetes/simple/ldap-rc.yaml renamed to example/kubernetes/simple/ldap-deployment.yaml

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
apiVersion: v1
2-
kind: ReplicationController
1+
apiVersion: extensions/v1beta1
2+
kind: Deployment
33
metadata:
4-
name: ldap-controller
4+
name: ldap
55
labels:
66
app: ldap
77
spec:
88
replicas: 1
9-
selector:
10-
app: ldap
119
template:
1210
metadata:
1311
labels:
@@ -71,32 +69,13 @@ spec:
7169
value: "true"
7270
- name: LDAP_SSL_HELPER_PREFIX
7371
value: "ldap"
74-
- name: ldap-backup
75-
image: osixia/openldap-backup:0.1.11
76-
volumeMounts:
77-
- name: ldap-data
78-
mountPath: /var/lib/ldap
79-
- name: ldap-config
80-
mountPath: /etc/ldap/slapd.d
81-
- name: ldap-backup
82-
mountPath: /data/backup
83-
env:
84-
- name: LDAP_BACKUP_CONFIG_CRON_EXP
85-
value: "15 1 * * *"
86-
- name: LDAP_BACKUP_DATA_CRON_EXP
87-
value: "20 1 * * *"
88-
- name: LDAP_BACKUP_TTL
89-
value: "15"
9072
volumes:
9173
- name: ldap-data
9274
hostPath:
9375
path: "/data/ldap/db"
9476
- name: ldap-config
9577
hostPath:
9678
path: "/data/ldap/config"
97-
- name: ldap-backup
98-
hostPath:
99-
path: "/data/ldap/backup"
10079
- name: ldap-certs
10180
hostPath:
10281
path: "/data/ldap/certs"
File renamed without changes.

example/kubernetes/using-secrets/ldap-rc.yaml renamed to example/kubernetes/using-secrets/ldap-deployment.yaml

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
apiVersion: v1
2-
kind: ReplicationController
1+
apiVersion: extensions/v1beta1
2+
kind: Deployment
33
metadata:
4-
name: ldap-controller
4+
name: ldap
55
labels:
66
app: ldap
77
spec:
88
replicas: 1
9-
selector:
10-
app: ldap
119
template:
1210
metadata:
1311
labels:
@@ -31,32 +29,13 @@ spec:
3129
ports:
3230
- containerPort: 389
3331
name: openldap
34-
- name: ldap-backup
35-
image: osixia/openldap-backup:0.1.11
36-
volumeMounts:
37-
- name: ldap-data
38-
mountPath: /var/lib/ldap
39-
- name: ldap-config
40-
mountPath: /etc/ldap/slapd.d
41-
- name: ldap-backup
42-
mountPath: /data/backup
43-
env:
44-
- name: LDAP_BACKUP_CONFIG_CRON_EXP
45-
value: "15 1 * * *"
46-
- name: LDAP_BACKUP_DATA_CRON_EXP
47-
value: "20 1 * * *"
48-
- name: LDAP_BACKUP_TTL
49-
value: "15"
5032
volumes:
5133
- name: ldap-data
5234
hostPath:
5335
path: "/data/ldap/db"
5436
- name: ldap-config
5537
hostPath:
5638
path: "/data/ldap/config"
57-
- name: ldap-backup
58-
hostPath:
59-
path: "/data/ldap/backup"
6039
- name: ldap-certs
6140
hostPath:
6241
path: "/data/ldap/certs"
File renamed without changes.

0 commit comments

Comments
 (0)