Fix volume declarations
Did not expect to create anonymous volumes, see
https://stackoverflow.com/questions/46166304/docker-compose-volumes-without-colon
for more details. Now the host directories should be mounted. While here
try setting :ro to the paths we are not expecting to modify. The
/lib/modules :ro flag is based on
3cbd8258eb/cilium-lb.yaml (L143-L145)
This commit is contained in:
parent
79f2018d1b
commit
dd0493f869
|
@ -2,9 +2,9 @@ services:
|
||||||
l4lb:
|
l4lb:
|
||||||
image: "quay.io/cilium/cilium:<%= @cilium_version %>"
|
image: "quay.io/cilium/cilium:<%= @cilium_version %>"
|
||||||
volumes:
|
volumes:
|
||||||
- /sys/fs/bpf
|
- /sys/fs/bpf:/sys/fs/bpf
|
||||||
- /lib/modules
|
- /lib/modules:/lib/modules:ro
|
||||||
- /var/run/netns
|
- /var/run/netns:/var/run/netns:ro
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
privileged: true
|
privileged: true
|
||||||
command:
|
command:
|
||||||
|
|
Loading…
Reference in a new issue