Do not enable use_perms by default - make it more explicit for users
This commit is contained in:
@@ -78,8 +78,7 @@ class AntiEtcdAdapter
|
||||
delete antietcd_config.cluster;
|
||||
delete antietcd_config.cluster_key;
|
||||
}
|
||||
const use_perms = config.use_perms || config.use_perms == null && config.client_ca;
|
||||
if (use_perms)
|
||||
if (config.use_perms)
|
||||
{
|
||||
antietcd_config.client_cert_auth = true;
|
||||
antietcd_config.auth_filter = vitastor_auth_filter;
|
||||
|
||||
Reference in New Issue
Block a user