mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 15:31:05 +02:00
app-admin/flannel: mount /etc/hosts ro into flannel container
This commit is contained in:
parent
d985e88bac
commit
2f66ba202e
@ -29,11 +29,13 @@ ExecStart=/usr/bin/rkt run --net=host \
|
||||
--volume ssl,kind=host,source=${ETCD_SSL_DIR},readOnly=true \
|
||||
--volume certs,kind=host,source=/usr/share/ca-certificates,readOnly=true \
|
||||
--volume resolv,kind=host,source=/etc/resolv.conf,readOnly=true \
|
||||
--volume hosts,kind=host,source=/etc/hosts,readOnly=true \
|
||||
--mount volume=runsystemd,target=/run/systemd \
|
||||
--mount volume=runflannel,target=/run/flannel \
|
||||
--mount volume=ssl,target=${ETCD_SSL_DIR} \
|
||||
--mount volume=certs,target=/etc/ssl/certs \
|
||||
--mount volume=resolv,target=/etc/resolv.conf \
|
||||
--mount volume=hosts,target=/etc/hosts \
|
||||
${FLANNEL_IMG}:${FLANNEL_VER} \
|
||||
--exec /opt/bin/flanneld \
|
||||
-- --ip-masq=true
|
||||
|
Loading…
x
Reference in New Issue
Block a user