[swarm] Fix cert filename in swarm-agent service
In swarm nodes the docker certs are named server.crt and server.key. Replace filenames in swarm-agent service from client to server. Change-Id: Ic3bc228d98c3829b583403156d8ad3ad4939037a PArtially-Implements: blueprint secure-etcd-cluster-coe
This commit is contained in:
parent
900c2af483
commit
7c4ef12fd4
|
@ -8,8 +8,8 @@ CONF_FILE=/etc/systemd/system/swarm-agent.service
|
|||
CERT_DIR=/etc/docker
|
||||
PROTOCOL=https
|
||||
ETCDCTL_OPTIONS="--ca-file $CERT_DIR/ca.crt \
|
||||
--cert-file $CERT_DIR/client.crt \
|
||||
--key-file $CERT_DIR/client.key"
|
||||
--cert-file $CERT_DIR/server.crt \
|
||||
--key-file $CERT_DIR/server.key"
|
||||
|
||||
if [ $TLS_DISABLED = 'True' ]; then
|
||||
PROTOCOL=http
|
||||
|
|
Loading…
Reference in New Issue