kolla/releasenotes/notes/add-use-dumb-init-config-option-26b47f6d97d7585c.yaml
Rabi Mishra fb4cb9efda Add config option use_dumb_init to add it to container images
Usage of dumb-init can also be disabled from cli with
`--nouse-dumb-init` when building images.

Also moves ENTRYPOINT outside of dumb_init_installation
block.

Change-Id: Id32d54fc9913b83cf121ede5a5e265e0772062ae
Related-Bug: #1821970
2019-04-03 08:27:45 +00:00

16 lines
702 B
YAML

---
features:
- |
Adds configration option ``use_dumb_init``, with default value of ``True``.
This can be use to avoid the of ``dumb-init`` as the container entrypoint,
using ``kolla_start`` directly instead. This option can also be disabled
via the ``kolla-build --nouse-dumb-init`` CLI argument.
upgrade:
- |
Moves the ``ENTRYPOINT`` statement outside of the
``dumb_init_installation`` Jinja block in the base image. Overriding this
block to install ``dumb-init`` by another method no longer requires
repeating the ``ENTRYPOINT`` statement. Users wishing to avoid the use of
``dumb-init`` altogether can now use the ``use_dumb_init`` configuration
option.