mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
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:
committed by
kannappanr
parent
d9cfa5fcd3
commit
6491dfbbd6
@@ -42,7 +42,7 @@ export MINIO_ACCESS_KEY=aws_access_key
|
||||
export MINIO_SECRET_KEY=aws_secret_key
|
||||
export MINIO_IAM_JWKS_URL=https://localhost:9443/oauth2/jwks
|
||||
export MINIO_IAM_OPA_URL=http://localhost:8181/v1/data/httpapi/authz
|
||||
export MINIO_ETCD_ENDPOINTS=localhost:2379
|
||||
export MINIO_ETCD_ENDPOINTS=http://localhost:2379
|
||||
minio gateway s3
|
||||
```
|
||||
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -2,4 +2,4 @@ export MINIO_ACCESS_KEY=minio
|
||||
export MINIO_SECRET_KEY=minio123
|
||||
export MINIO_IAM_JWKS_URL=http://localhost:9763/oauth2/jwks
|
||||
export MINIO_IAM_OPA_URL=http://localhost:8181/v1/data/httpapi/authz
|
||||
export MINIO_ETCD_ENDPOINTS=localhost:2379
|
||||
export MINIO_ETCD_ENDPOINTS=http://localhost:2379
|
||||
|
||||
Reference in New Issue
Block a user