Browse Source

Allow a containerized logrotate to access docker

This is required for a containerized logrotate to restart neutron
API container as it cannot process signals.

Related-Bug: #1780139

Change-Id: I27663ffc0adb34a61f2f97fef913e9e36592a585
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
changes/74/596274/5
Bogdan Dobrelya 4 years ago
parent
commit
2b1afc0483
  1. 1
      docker/services/logrotate-crond.yaml

1
docker/services/logrotate-crond.yaml

@ -96,6 +96,7 @@ outputs:
list_concat:
- {get_attr: [ContainersCommon, volumes]}
-
- /var/run/docker.sock:/var/run/docker.sock:rw
- /var/lib/kolla/config_files/logrotate-crond.json:/var/lib/kolla/config_files/config.json:ro
- /var/lib/config-data/puppet-generated/crond/:/var/lib/kolla/config_files/src:ro
- /var/log/containers:/var/log/containers

Loading…
Cancel
Save