You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Changelog
2
2
3
+
## 1.1.6
4
+
Fix :
5
+
- Upgrade to 1.1.5 startup issues with cfssl-helper #73
6
+
7
+
Update to light-baseimage:0.2.5
8
+
3
9
## 1.1.5
4
10
Fix :
5
11
- Restarting container with new environment #44
@@ -45,7 +51,7 @@ Update to light-baseimage:0.2.2
45
51
46
52
## 1.1.0
47
53
Update to light-baseimage:0.2.1 :
48
-
- Use \*.yaml.startup environment files to keep configuration secrets
54
+
- Use \*.startup.yaml environment files to keep configuration secrets
49
55
- Use cfssl tool to generate tls certs
50
56
- Use log-helper to write leveled log messages
51
57
- Allow copy of /container/service and mounted files to /container/run/service dir usefull for write only filesystems and avoid file permissions problems
#Add the pair "ip hostname" to /etc/hosts on each containers,
@@ -197,7 +199,7 @@ You may have some problems with mounted files on some systems. The startup scrip
197
199
198
200
To fix that run the container with `--copy-service` argument :
199
201
200
-
docker run [your options] osixia/openldap:1.1.5 --copy-service
202
+
docker run [your options] osixia/openldap:1.1.6 --copy-service
201
203
202
204
### Debug
203
205
@@ -206,15 +208,15 @@ Available levels are: `none`, `error`, `warning`, `info`, `debug` and `trace`.
206
208
207
209
Example command to run the container in `debug` mode:
208
210
209
-
docker run --detach osixia/openldap:1.1.5 --loglevel debug
211
+
docker run --detach osixia/openldap:1.1.6 --loglevel debug
210
212
211
213
See all command line options:
212
214
213
-
docker run osixia/openldap:1.1.5 --help
215
+
docker run osixia/openldap:1.1.6 --help
214
216
215
217
216
218
## Environment Variables
217
-
Environment variables defaults are set in **image/environment/default.yaml** and **image/environment/default.yaml.startup**.
219
+
Environment variables defaults are set in **image/environment/default.yaml** and **image/environment/default.startup.yaml**.
218
220
219
221
See how to [set your own environment variables](#set-your-own-environment-variables)
220
222
@@ -224,7 +226,7 @@ Variables defined in this file are available at anytime in the container environ
224
226
General container configuration:
225
227
-**LDAP_LOG_LEVEL**: Slap log level. defaults to `256`. See table 5.1 in http://www.openldap.org/doc/admin24/slapdconf2.html for the available log levels.
226
228
227
-
### Default.yaml.startup
229
+
### Default.startup.yaml
228
230
Variables defined in this file are only available during the container **first start** in **startup files**.
229
231
This file is deleted right after startup files are processed for the first time,
230
232
then all of these values will not be available in the container environment.
@@ -273,13 +275,13 @@ Replication options:
273
275
274
276
If you want to set this variable at docker run command add the tag `#PYTHON2BASH:` and convert the yaml in python:
275
277
276
-
docker run --env LDAP_REPLICATION_HOSTS="#PYTHON2BASH:['ldap://ldap.example.org','ldap://ldap2.example.org']" --detach osixia/openldap:1.1.5
278
+
docker run --env LDAP_REPLICATION_HOSTS="#PYTHON2BASH:['ldap://ldap.example.org','ldap://ldap2.example.org']" --detach osixia/openldap:1.1.6
277
279
278
280
To convert yaml to python online: http://yaml-online-parser.appspot.com/
279
281
280
282
Other environment variables:
281
283
-**LDAP_REMOVE_CONFIG_AFTER_SETUP**: delete config folder after setup. Defaults to `true`
282
-
-**LDAP_CFSSL_PREFIX**: cfssl environment variables prefix. Defaults to `ldap`, cfssl-helper first search config from LDAP_CFSSL_* variables, before CFSSL_* variables.
284
+
-**LDAP_SSL_HELPER_PREFIX**: ssl-helper environment variables prefix. Defaults to `ldap`, ssl-helper first search config from LDAP_SSL_HELPER_* variables, before SSL_HELPER_* variables.
283
285
284
286
285
287
### Set your own environment variables
@@ -288,39 +290,39 @@ Other environment variables:
288
290
Environment variables can be set by adding the --env argument in the command line, for example:
289
291
290
292
docker run --env LDAP_ORGANISATION="My company" --env LDAP_DOMAIN="my-company.com" \
Be aware that environment variable added in command line will be available at any time
294
296
in the container. In this example if someone manage to open a terminal in this container
295
297
he will be able to read the admin password in clear text from environment variables.
296
298
297
299
#### Link environment file
298
300
299
-
For example if your environment files **my-env.yaml** and **my-env.yaml.startup** are in /data/ldap/environment
301
+
For example if your environment files **my-env.yaml** and **my-env.startup.yaml** are in /data/ldap/environment
300
302
301
303
docker run --volume /data/ldap/environment:/container/environment/01-custom \
302
-
--detach osixia/openldap:1.1.5
304
+
--detach osixia/openldap:1.1.6
303
305
304
306
Take care to link your environment files folder to `/container/environment/XX-somedir` (with XX < 99 so they will be processed before default environment files) and not directly to `/container/environment` because this directory contains predefined baseimage environment files to fix container environment (INITRD, LANG, LANGUAGE and LC_CTYPE).
305
307
306
-
Note: the container will try to delete the **\*.yaml.startup** file after the end of startup files so the file will also be deleted on the docker host. To prevent that : use --volume /data/ldap/environment:/container/environment/01-custom**:ro** or set all variables in **\*.yaml** file and don't use **\*.yaml.startup**:
308
+
Note: the container will try to delete the **\*.startup.yaml** file after the end of startup files so the file will also be deleted on the docker host. To prevent that : use --volume /data/ldap/environment:/container/environment/01-custom**:ro** or set all variables in **\*.yaml** file and don't use **\*.startup.yaml**:
307
309
308
310
docker run --volume /data/ldap/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
309
-
--detach osixia/openldap:1.1.5
311
+
--detach osixia/openldap:1.1.6
310
312
311
313
#### Make your own image or extend this image
312
314
313
315
This is the best solution if you have a private registry. Please refer to the [Advanced User Guide](#advanced-user-guide) just below.
314
316
315
317
## Advanced User Guide
316
318
317
-
### Extend osixia/openldap:1.1.5 image
319
+
### Extend osixia/openldap:1.1.6 image
318
320
319
321
If you need to add your custom TLS certificate, bootstrap config or environment files the easiest way is to extends this image.
0 commit comments