Tell the journal on the builders to listen on the proper socket.
This commit is contained in:
parent
6eead7c860
commit
b10fd4ff22
1 changed files with 12 additions and 1 deletions
|
@ -22,6 +22,17 @@ coreos:
|
||||||
group: {{ coreos_channel }}
|
group: {{ coreos_channel }}
|
||||||
|
|
||||||
units:
|
units:
|
||||||
|
- name: systemd-journal-gatewayd.socket
|
||||||
|
command: start
|
||||||
|
enable: yes
|
||||||
|
content: |
|
||||||
|
[Unit]
|
||||||
|
Description=Journal Gateway Service Socket
|
||||||
|
[Socket]
|
||||||
|
ListenStream=/var/run/journald.sock
|
||||||
|
Service=systemd-journal-gatewayd.service
|
||||||
|
[Install]
|
||||||
|
WantedBy=sockets.target
|
||||||
{{ dockersystemd('quay-builder',
|
{{ dockersystemd('quay-builder',
|
||||||
'quay.io/coreos/registry-build-worker',
|
'quay.io/coreos/registry-build-worker',
|
||||||
quay_username,
|
quay_username,
|
||||||
|
@ -36,6 +47,6 @@ coreos:
|
||||||
{{ dockersystemd('builder-logs',
|
{{ dockersystemd('builder-logs',
|
||||||
'quay.io/kelseyhightower/journal-2-logentries',
|
'quay.io/kelseyhightower/journal-2-logentries',
|
||||||
extra_args='--env-file /root/overrides.list -v /run/journald.sock:/run/journald.sock',
|
extra_args='--env-file /root/overrides.list -v /run/journald.sock:/run/journald.sock',
|
||||||
after_units=['quay-builder']
|
after_units=['quay-builder.service']
|
||||||
) | indent(4) }}
|
) | indent(4) }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Reference in a new issue