Fix etcd TLS handling (#6748)

etcd fails to connect if TLS config is set, make TLS
conditional to input arguments instead
This commit is contained in:
Harshavardhana
2018-11-01 21:41:11 -07:00
committed by kannappanr
parent d9cfa5fcd3
commit 6491dfbbd6
4 changed files with 40 additions and 21 deletions

View File

@@ -34,7 +34,7 @@ You may also setup etcd with TLS following this documentation [here](https://cor
### 3. Setup Minio with etcd
Minio server expects environment variable for etcd as `MINIO_ETCD_ENDPOINTS`, this environment variable takes many comma separated entries.
```
export MINIO_ETCD_ENDPOINTS=localhost:2379
export MINIO_ETCD_ENDPOINTS=http://localhost:2379
minio server /data
```