Merge "Fix: include missing docker log-opts in config"

This commit is contained in:
Zuul 2024-02-19 16:43:57 +00:00 committed by Gerrit Code Review
commit dbb7d9c536
3 changed files with 9 additions and 2 deletions

View File

@ -0,0 +1,7 @@
---
fixes:
- |
Docker log-opts are now included in the docker daemon.json config again.
This allows for ``docker_log_max_file`` and ``docker_log_max_size`` to now
be set/overidden correctly.
`LP#2044537 <https://launchpad.net/bugs/2040105>`__

View File

@ -33,7 +33,7 @@
docker_config_debug:
debug: "{{ docker_debug }}"
docker_config: >-
{{ {}
{{ default_docker_config
| combine(docker_zun_config if docker_configure_for_zun | bool and 'zun-compute' in group_names else {})
| combine(docker_config_insecure_registries if docker_registry_insecure | bool else {})
| combine(docker_config_registry_mirror if docker_registry_mirrors | length > 0 else {})

View File

@ -1,5 +1,5 @@
---
docker_config:
default_docker_config:
log-opts:
max-file: "{{ docker_log_max_file }}"
max-size: "{{ docker_log_max_size }}"