Proof-of-Concept for proxy TLS support
The code is quite messy, but particularly the argument parsing and volume-mounting. Also, it doesn't support args with spaces, or non-absolute file-paths.
This commit is contained in:
1 parent
4774043295
commit
74afbc5505
9 files changed
+265
-20
No files matched your search
@@ -15,3 +15,10 @@ for HOST in $HOSTS; do
|
||||
run_on $HOST chmod a+x $DOCKER_NS ./weave
|
||||
run_on $HOST sudo service docker restart
|
||||
done
|
||||
|
||||
echo Setting up Docker TLS on hosts
|
||||
(cd ./tls && make)
|
||||
chmod 0600 tls/*
|
||||
for HOST in $HOSTS; do
|
||||
rsync -az -e "$SSH" ./tls/ $HOST:~/tls/
|
||||
done
|
||||
Reference in new issue
Block a user