[proxy] mount all tls volumes as readonly
This commit is contained in:
1 parent
2576e819a7
commit
74eef4deda
1 file changed
+1
-1
@@ -882,7 +882,7 @@ ipam_cidrs_or_die() {
|
|||||||
# TODO: Handle args with spaces
|
# TODO: Handle args with spaces
|
||||||
tls_arg() {
|
tls_arg() {
|
||||||
filename=${3:-$2}
|
filename=${3:-$2}
|
||||||
PROXY_VOLUMES="$PROXY_VOLUMES -v $1:/home/weave/tls/$filename.pem"
|
PROXY_VOLUMES="$PROXY_VOLUMES -v $1:/home/weave/tls/$filename.pem:ro"
|
||||||
PROXY_ARGS="$PROXY_ARGS --tls$2 /home/weave/tls/$filename.pem"
|
PROXY_ARGS="$PROXY_ARGS --tls$2 /home/weave/tls/$filename.pem"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user